public static class CharIterators.UnmodifiableBidirectionalIterator extends AbstractCharBidirectionalIterator
Constructor and Description |
---|
UnmodifiableBidirectionalIterator(CharBidirectionalIterator i) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
java.lang.Character |
next()
Deprecated.
Please use the corresponding type-specific method instead.
|
char |
nextChar()
Delegates to the corresponding generic method.
|
java.lang.Character |
previous()
Deprecated.
Please use the corresponding type-specific method instead.
|
char |
previousChar()
Delegates to the corresponding generic method.
|
back
remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
skip
skip
public UnmodifiableBidirectionalIterator(CharBidirectionalIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIterator
ListIterator.hasPrevious()
public char nextChar()
AbstractCharIterator
nextChar
in interface CharIterator
nextChar
in class AbstractCharIterator
Iterator.next()
public char previousChar()
AbstractCharBidirectionalIterator
previousChar
in interface CharBidirectionalIterator
previousChar
in class AbstractCharBidirectionalIterator
ListIterator.previous()
@Deprecated public java.lang.Character next()
next
in interface java.util.Iterator<java.lang.Character>
next
in class AbstractCharIterator
@Deprecated public java.lang.Character previous()
previous
in interface BidirectionalIterator<java.lang.Character>
previous
in class AbstractCharBidirectionalIterator
ListIterator.previous()