public final class Strings extends Object
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');
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) |
public static CharAdapter toChars(char... array)
public static CharAdapter asChars(String string)
public static CodePointAdapter toCodePoints(int... array)
public static CodePointAdapter asCodePoints(String string)
Copyright © 2004–2019. All rights reserved.