|
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_convDownThe Converter from this ListIterator to the underlying ListIterator. |
protected Converter |
m_convUpThe Converter from the underlying ListIterator to this ListIterator. |
protected java.util.ListIterator |
m_iterThe 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 ListIterator| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.IteratorhasNext in interface java.util.ListIteratorpublic java.lang.Object next()
next in interface java.util.Iteratornext in interface java.util.ListIteratorpublic boolean hasPrevious()
hasPrevious in interface java.util.ListIteratorpublic java.lang.Object previous()
previous in interface java.util.ListIteratorjava.util.NoSuchElementException - if the iteration has no previous elementpublic int nextIndex()
nextIndex in interface java.util.ListIteratorpublic int previousIndex()
previousIndex in interface java.util.ListIteratorpublic void remove()
remove in interface java.util.Iteratorremove in interface java.util.ListIteratorpublic void set(java.lang.Object o)
set in interface java.util.ListIteratoro - 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.ListIteratoro - 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 | |||||||