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 CharAdapterasChars(String string)static CodePointAdapterasCodePoints(String string)static CharAdaptertoChars(char... array)static CodePointAdaptertoCodePoints(int... array)