39404142434445
public static CodepointIterator forCharSequence(CharSequence seq) { return new CharSequenceCodepointIterator(seq); } public static CodepointIterator forByteArray(byte[] array) { return new ByteArrayCodepointIterator(array); }
112113114115116117118
return buffer; } public CodepointIterator getIterator() { if (!flipped) notflipped(); return new ByteArrayCodepointIterator(buffer); }
117118119120121122123
return new ByteArrayCodepointIterator(buffer); } public CodepointIterator getIterator(String charset) { if (!flipped) notflipped(); return new ByteArrayCodepointIterator(buffer,charset); }