Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.util
Class WrapperCollections.AbstractWrapperListIterator

java.lang.Object
  extended by com.tangosol.util.WrapperCollections.AbstractWrapperIterator
      extended by com.tangosol.util.WrapperCollections.AbstractWrapperListIterator

All Implemented Interfaces:
java.util.Iterator, java.util.ListIterator
Enclosing class:
WrapperCollections

public abstract class WrapperCollections.AbstractWrapperListIterator
extends WrapperCollections.AbstractWrapperIterator
implements java.util.ListIterator

ListIterator implementation which delegates all calls to another ListIterator.


Constructor Summary
protected WrapperCollections.AbstractWrapperListIterator(java.util.ListIterator iter)
          Create an AbstractWrapperListIterator which delegates to the specified ListIterator.

 

Method Summary
 void add(java.lang.Object o)
          
protected  java.util.ListIterator getDelegate()
          Return the Iterator to which all operations should be delegated to.
 boolean hasPrevious()
          
 int nextIndex()
          
 java.lang.Object previous()
          
 int previousIndex()
          
 void set(java.lang.Object o)
          

 

Methods inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperIterator
equals, hashCode, hasNext, next, remove, toString

 

Methods inherited from interface java.util.ListIterator
hasNext, next, remove

 

Constructor Detail

WrapperCollections.AbstractWrapperListIterator

protected WrapperCollections.AbstractWrapperListIterator(java.util.ListIterator iter)
Create an AbstractWrapperListIterator which delegates to the specified ListIterator.
Parameters:
iter - the ListIterator to delegate all calls to

Method Detail

getDelegate

protected java.util.ListIterator getDelegate()
Return the Iterator to which all operations should be delegated to.
Overrides:
getDelegate in class WrapperCollections.AbstractWrapperIterator
Returns:
the wrapped Iterator

add

public void add(java.lang.Object o)
Specified by:
add in interface java.util.ListIterator

hasPrevious

public boolean hasPrevious()
Specified by:
hasPrevious in interface java.util.ListIterator

nextIndex

public int nextIndex()
Specified by:
nextIndex in interface java.util.ListIterator

previous

public java.lang.Object previous()
Specified by:
previous in interface java.util.ListIterator

previousIndex

public int previousIndex()
Specified by:
previousIndex in interface java.util.ListIterator

set

public void set(java.lang.Object o)
Specified by:
set in interface java.util.ListIterator

Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.