java.lang.Object |
↳ |
org.apache.commons.collections.iterators.UnmodifiableListIterator |
Class Overview
Decorates a list iterator such that it cannot be modified.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
java.util.Iterator
abstract
boolean
|
hasNext()
|
abstract
E
|
next()
|
abstract
void
|
remove()
|
|
From interface
java.util.ListIterator
abstract
void
|
add(E arg0)
|
abstract
boolean
|
hasNext()
|
abstract
boolean
|
hasPrevious()
|
abstract
E
|
next()
|
abstract
int
|
nextIndex()
|
abstract
E
|
previous()
|
abstract
int
|
previousIndex()
|
abstract
void
|
remove()
|
abstract
void
|
set(E arg0)
|
|
Public Methods
Decorates the specified iterator such that it cannot be modified.
Parameters
iterator
| the iterator to decorate |
public
boolean
hasNext
()
public
boolean
hasPrevious
()
public
int
previousIndex
()