Package one.microstream.chars
Class Concatentation
java.lang.Object
one.microstream.chars.Concatentation
- All Implemented Interfaces:
CharSequence
public class Concatentation extends Object implements CharSequence
-
Constructor Summary
Constructors Constructor Description Concatentation(CharSequence s1, CharSequence s2)
-
Method Summary
Modifier and Type Method Description StringBuilder
assemble(StringBuilder sb)
char
charAt(int index)
int
length()
String
subSequence(int start, int end)
Assembles a String resembling this concatenation and builds a String subSequence from it.String
toString()
-
Constructor Details
-
Method Details
-
toString
- Specified by:
toString
in interfaceCharSequence
- Overrides:
toString
in classObject
- See Also:
Object.toString()
-
charAt
public char charAt(int index)- Specified by:
charAt
in interfaceCharSequence
- Parameters:
index
-- See Also:
CharSequence.charAt(int)
-
length
public int length()- Specified by:
length
in interfaceCharSequence
- See Also:
CharSequence.length()
-
subSequence
Assembles a String resembling this concatenation and builds a String subSequence from it.- Specified by:
subSequence
in interfaceCharSequence
- Parameters:
start
- the start index of the sub sequence.end
- the end index of the sub sequence.- Returns:
- a String containing the defined sub sequence.
- See Also:
CharSequence.subSequence(int,int)
,String.subSequence(int,int)
-
assemble
-