Class Strings
java.lang.Object
org.eclipse.collections.impl.factory.Strings
public final class Strings extends Object
This class can be used to create instances of CharAdapter and CodePointAdapter.
CharAdapter chars1 = Strings.asChars("Hello World!"); CharAdapter chars2 = Strings.toChars('a', 'b', 'c'); CodePointAdapter codePoints1 = Strings.asCodePoints("Hello World!"); CodePointAdapter codePoints2 = Strings.toCodePoints((int)'a', (int)'b', (int)'c');
-
Method Summary
Modifier and Type Method Description static CharAdapter
asChars(String string)
static CodePointAdapter
asCodePoints(String string)
static CharAdapter
toChars(char... array)
static CodePointAdapter
toCodePoints(int... array)