Class CodepointIteratorCharSequence
- java.lang.Object
-
- com.helger.commons.text.codepoint.AbstractCodepointIterator
-
- com.helger.commons.text.codepoint.CodepointIteratorCharSequence
-
- All Implemented Interfaces:
ICodepointIterator,Iterator<Codepoint>
public class CodepointIteratorCharSequence extends AbstractCodepointIterator
- Author:
- Apache Abdera
-
-
Field Summary
-
Fields inherited from class com.helger.commons.text.codepoint.AbstractCodepointIterator
m_nLimit, m_nPosition
-
-
Constructor Summary
Constructors Constructor Description CodepointIteratorCharSequence(CharSequence aBuffer)CodepointIteratorCharSequence(CharSequence aBuffer, int nOfs, int nLen)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected charget()protected charget(int nIndex)-
Methods inherited from class com.helger.commons.text.codepoint.AbstractCodepointIterator
isHigh, isLow, lastPosition, limit, next, nextChars, peek, peek, peekChars, position, position, remaining, restrict
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.helger.commons.text.codepoint.ICodepointIterator
hasNext, restrict, restrict
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Constructor Detail
-
CodepointIteratorCharSequence
public CodepointIteratorCharSequence(@Nonnull CharSequence aBuffer)
-
CodepointIteratorCharSequence
public CodepointIteratorCharSequence(@Nonnull CharSequence aBuffer, @Nonnegative int nOfs, @Nonnegative int nLen)
-
-
Method Detail
-
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
-
-