it.unimi.dsi.fastutil.ints
Class IntIterators.UnmodifiableListIterator

java.lang.Object
  extended byit.unimi.dsi.fastutil.ints.AbstractIntIterator
      extended byit.unimi.dsi.fastutil.ints.AbstractIntBidirectionalIterator
          extended byit.unimi.dsi.fastutil.ints.AbstractIntListIterator
              extended byit.unimi.dsi.fastutil.ints.IntIterators.UnmodifiableListIterator
All Implemented Interfaces:
BidirectionalIterator, IntBidirectionalIterator, IntIterator, IntListIterator, Iterator, ListIterator
Enclosing class:
IntIterators

public static class IntIterators.UnmodifiableListIterator
extends AbstractIntListIterator

An unmodifiable wrapper class for list iterators.


Constructor Summary
IntIterators.UnmodifiableListIterator(IntListIterator i)
           
 
Method Summary
 boolean hasNext()
           
 boolean hasPrevious()
          Returns whether there is a previous element.
 Object next()
          Delegates to the corresponding type-specific method.
 int nextIndex()
           
 int nextInt()
          Returns the next element as a primitive type.
 Object previous()
          Returns the previous element from the collection.
 int previousIndex()
           
 int previousInt()
          Returns the previous element as a primitive type.
 
Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractIntListIterator
add, add, set, set
 
Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractIntBidirectionalIterator
back
 
Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractIntIterator
remove, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.ListIterator
remove
 
Methods inherited from interface it.unimi.dsi.fastutil.ints.IntBidirectionalIterator
back
 
Methods inherited from interface it.unimi.dsi.fastutil.ints.IntIterator
skip
 

Constructor Detail

IntIterators.UnmodifiableListIterator

public IntIterators.UnmodifiableListIterator(IntListIterator i)
Method Detail

hasNext

public boolean hasNext()

hasPrevious

public boolean hasPrevious()
Description copied from interface: BidirectionalIterator
Returns whether there is a previous element.


nextInt

public int nextInt()
Description copied from interface: IntIterator
Returns the next element as a primitive type.

Specified by:
nextInt in interface IntIterator
Overrides:
nextInt in class AbstractIntIterator

previousInt

public int previousInt()
Description copied from interface: IntBidirectionalIterator
Returns the previous element as a primitive type.

Specified by:
previousInt in interface IntBidirectionalIterator
Overrides:
previousInt in class AbstractIntBidirectionalIterator

nextIndex

public int nextIndex()

previousIndex

public int previousIndex()

next

public Object next()
Description copied from class: AbstractIntIterator
Delegates to the corresponding type-specific method.

Specified by:
next in interface ListIterator
Overrides:
next in class AbstractIntIterator

previous

public Object previous()
Description copied from interface: BidirectionalIterator
Returns the previous element from the collection.

Specified by:
previous in interface ListIterator
Overrides:
previous in class AbstractIntBidirectionalIterator