org.apache.abdera.util.io
Class CharArrayCodepointIterator

java.lang.Object
  extended by org.apache.abdera.util.io.CodepointIterator
      extended by org.apache.abdera.util.io.CharArrayCodepointIterator
Direct Known Subclasses:
ByteArrayCodepointIterator, CharBufferCodepointIterator

public class CharArrayCodepointIterator
extends CodepointIterator

Iterate over Unicode codepoints contained in a char array


Field Summary
protected  char[] buffer
           
 
Fields inherited from class org.apache.abdera.util.io.CodepointIterator
limit, position
 
Constructor Summary
protected CharArrayCodepointIterator()
           
  CharArrayCodepointIterator(char[] buffer)
           
  CharArrayCodepointIterator(char[] buffer, int n, int e)
           
 
Method Summary
protected  char get()
           
protected  char get(int index)
           
 
Methods inherited from class org.apache.abdera.util.io.CodepointIterator
forByteArray, forCharArray, forCharBuffer, forCharSequence, hasNext, isHigh, isLow, last, lastPosition, limit, next, nextChars, peek, peek, peekChars, position, position, remaining
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buffer

protected char[] buffer
Constructor Detail

CharArrayCodepointIterator

protected CharArrayCodepointIterator()

CharArrayCodepointIterator

public CharArrayCodepointIterator(char[] buffer)

CharArrayCodepointIterator

public CharArrayCodepointIterator(char[] buffer,
                                  int n,
                                  int e)
Method Detail

get

protected char get()
Specified by:
get in class CodepointIterator

get

protected char get(int index)
Specified by:
get in class CodepointIterator