|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.Base
com.tangosol.util.ConverterCollections.ConverterListIterator
public static class ConverterCollections.ConverterListIterator
A Converter ListIterator views an underlying ListIterator through a Converter.
Field Summary | |
---|---|
protected Converter |
m_convDown The Converter from this ListIterator to the underlying ListIterator. |
protected Converter |
m_convUp The Converter from the underlying ListIterator to this ListIterator. |
protected java.util.ListIterator |
m_iter The underlying ListIterator. |
Constructor Summary | |
---|---|
ConverterCollections.ConverterListIterator(java.util.ListIterator iter, Converter convUp, Converter convDown) Constructor. |
Method Summary | |
---|---|
void |
add(java.lang.Object o) Inserts the specified element into the list. |
Converter |
getConverterDown() Return the Converter used to pass values down to the underlying ListIterator. |
Converter |
getConverterUp() Return the Converter used to view the underlying ListIterator's values through. |
java.util.ListIterator |
getListIterator() Return the underlying ListIterator. |
boolean |
hasNext() Returns true if this list iterator has more elements when traversing the list in the forward direction. |
boolean |
hasPrevious() Returns true if this list iterator has more elements when traversing the list in the reverse direction. |
java.lang.Object |
next() Returns the next element in the list. |
int |
nextIndex() Returns the index of the element that would be returned by a subsequent call to next. |
java.lang.Object |
previous() Returns the previous element in the list. |
int |
previousIndex() Returns the index of the element that would be returned by a subsequent call to previous. |
void |
remove() Removes from the list the last element that was returned by next or previous. |
void |
set(java.lang.Object o) Replaces the last element returned by next or previous with the specified element. |
Field Detail |
---|
protected java.util.ListIterator m_iter
protected Converter m_convUp
protected Converter m_convDown
Constructor Detail |
---|
public ConverterCollections.ConverterListIterator(java.util.ListIterator iter, Converter convUp, Converter convDown)
iter
- the underlying ListIteratorconvUp
- the Converter from the underlying ListIteratorconvDown
- the Converter to the underlying ListIteratorMethod Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator
hasNext
in interface java.util.ListIterator
public java.lang.Object next()
next
in interface java.util.Iterator
next
in interface java.util.ListIterator
public boolean hasPrevious()
hasPrevious
in interface java.util.ListIterator
public java.lang.Object previous()
previous
in interface java.util.ListIterator
java.util.NoSuchElementException
- if the iteration has no previous elementpublic int nextIndex()
nextIndex
in interface java.util.ListIterator
public int previousIndex()
previousIndex
in interface java.util.ListIterator
public void remove()
remove
in interface java.util.Iterator
remove
in interface java.util.ListIterator
public void set(java.lang.Object o)
set
in interface java.util.ListIterator
o
- the element with which to replace the last element returned by next or previouspublic void add(java.lang.Object o)
add
in interface java.util.ListIterator
o
- the element to insertpublic java.util.ListIterator getListIterator()
public Converter getConverterUp()
public Converter getConverterDown()
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |