| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.abdera.i18n.text.CodepointIterator
org.apache.abdera.i18n.text.DelegatingCodepointIterator
public abstract class DelegatingCodepointIterator
Base implementation of a CodepointIterator that filters the output of another CodpointIterator
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class org.apache.abdera.i18n.text.CodepointIterator | 
|---|
CodepointIterator.RestrictedCodepointIterator | 
| Field Summary | 
|---|
| Fields inherited from class org.apache.abdera.i18n.text.CodepointIterator | 
|---|
limit, position | 
| Constructor Summary | |
|---|---|
protected  | 
DelegatingCodepointIterator(CodepointIterator internal)
 | 
| Method Summary | |
|---|---|
protected  char | 
get()
Get the next char  | 
protected  char | 
get(int index)
Get the specified char  | 
 boolean | 
hasNext()
True if there are codepoints remaining  | 
 boolean | 
isHigh(int index)
Returns true if the char at the specified index is a high surrogate  | 
 boolean | 
isLow(int index)
Returns true if the char at the specified index is a low surrogate  | 
 int | 
limit()
Return the iterator limit  | 
 Codepoint | 
next()
Return the next codepoint  | 
 char[] | 
nextChars()
Return the next chars.  | 
 Codepoint | 
peek()
Peek the next codepoint  | 
 Codepoint | 
peek(int index)
Peek the specified codepoint  | 
 char[] | 
peekChars()
Peek the next chars in the iterator.  | 
 int | 
position()
Get the iterator position  | 
 void | 
position(int position)
Set the iterator position  | 
 int | 
remaining()
Return the remaining iterator size  | 
| Methods inherited from class org.apache.abdera.i18n.text.CodepointIterator | 
|---|
forByteArray, forByteArray, forCharArray, forCharBuffer, forCharSequence, forInputStream, forInputStream, forReadableByteChannel, forReadableByteChannel, forReader, lastPosition, remove, restrict, restrict, restrict, restrict, restrict, restrict | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
protected DelegatingCodepointIterator(CodepointIterator internal)
| Method Detail | 
|---|
protected char get()
CodepointIterator
get in class CodepointIteratorprotected char get(int index)
CodepointIterator
get in class CodepointIteratorpublic boolean hasNext()
CodepointIterator
hasNext in interface Iterator<Codepoint>hasNext in class CodepointIteratorpublic boolean isHigh(int index)
CodepointIterator
isHigh in class CodepointIteratorpublic boolean isLow(int index)
CodepointIterator
isLow in class CodepointIteratorpublic int limit()
CodepointIterator
limit in class CodepointIteratorpublic Codepoint next()
CodepointIterator
next in interface Iterator<Codepoint>next in class CodepointIteratorpublic char[] nextChars()
CodepointIterator
nextChars in class CodepointIteratorpublic Codepoint peek()
CodepointIterator
peek in class CodepointIteratorpublic Codepoint peek(int index)
CodepointIterator
peek in class CodepointIteratorpublic char[] peekChars()
CodepointIterator
peekChars in class CodepointIteratorpublic int position()
CodepointIterator
position in class CodepointIteratorpublic int remaining()
CodepointIterator
remaining in class CodepointIteratorpublic void position(int position)
CodepointIterator
position in class CodepointIterator
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||