Package com.uwyn.jhighlight.pcj
Interface CharIterator
-
public interface CharIteratorThis class represents iterators over collections of char values.- Since:
- 1.0
- Version:
- 1.0 2002/29/12
- See Also:
Iterator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhasNext()Indicates whether more char values can be returned by this iterator.charnext()Returns the next char value of this iterator.voidremove()Removes the last char value returned from the underlying collection.
-
-
-
Method Detail
-
hasNext
boolean hasNext()
Indicates whether more char values can be returned by this iterator.- Returns:
- true if more char values can be returned by this iterator; returns false otherwise.
- See Also:
next()
-
next
char next()
Returns the next char value of this iterator.- Returns:
- the next char value of this iterator.
- Throws:
NoSuchElementException- if no more elements are available from this iterator.- See Also:
hasNext()
-
remove
void remove()
Removes the last char value returned from the underlying collection.- Throws:
java.lang.UnsupportedOperationException- if removal is not supported by this iterator.java.lang.IllegalStateException- if no element has been returned by this iterator yet.
-
-