Class CodepointIteratorCharSequence
java.lang.Object
com.helger.commons.text.codepoint.AbstractCodepointIterator
com.helger.commons.text.codepoint.CodepointIteratorCharSequence
- All Implemented Interfaces:
ICodepointIterator,Iterator<Codepoint>
- Author:
- Apache Abdera
-
Field Summary
Fields inherited from class com.helger.commons.text.codepoint.AbstractCodepointIterator
m_nLimit, m_nPosition -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.helger.commons.text.codepoint.AbstractCodepointIterator
isHigh, isLow, lastPosition, limit, next, nextChars, peek, peek, peekChars, position, position, remaining, restrictMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.helger.commons.text.codepoint.ICodepointIterator
hasNext, restrict, restrictMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
CodepointIteratorCharSequence
-
CodepointIteratorCharSequence
public CodepointIteratorCharSequence(@Nonnull CharSequence aBuffer, @Nonnegative int nOfs, @Nonnegative int nLen)
-
-
Method Details
-
get
protected char get()- Specified by:
getin classAbstractCodepointIterator- Returns:
- Get the next char
-
get
protected char get(int nIndex) - Specified by:
getin classAbstractCodepointIterator- Parameters:
nIndex- Index to be retrieved- Returns:
- Get the specified char
-