Class Strings
java.lang.Object
org.eclipse.collections.impl.factory.Strings
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 TypeMethodDescriptionstatic CharAdapterstatic CodePointAdapterasCodePoints(String string) static CharAdaptertoChars(char... array) static CodePointAdaptertoCodePoints(int... array)
-
Method Details
-
toChars
-
asChars
-
toCodePoints
-
asCodePoints
-