choco.kernel.common.util.objects
Class IntList.IntListIterator

java.lang.Object
  extended by choco.kernel.common.util.disposable.Disposable
      extended by choco.kernel.common.util.iterators.DisposableIntIterator
          extended by choco.kernel.common.util.objects.IntList.IntListIterator
Enclosing class:
IntList

protected static class IntList.IntListIterator
extends DisposableIntIterator


Constructor Summary
protected IntList.IntListIterator()
           
 
Method Summary
 boolean hasNext()
           
 void init(IntList list)
           
 int next()
           
 int read()
          Read the next element wihtout incrementing
 void remove()
          Removes from the underlying collection the last element returned by the iterator (optional operation).
 
Methods inherited from class choco.kernel.common.util.disposable.Disposable
dispose, init, reusable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntList.IntListIterator

protected IntList.IntListIterator()
Method Detail

init

public void init(IntList list)

hasNext

public boolean hasNext()

next

public int next()

remove

public void remove()
Description copied from class: DisposableIntIterator
Removes from the underlying collection the last element returned by the iterator (optional operation). This method can be called only once per call to next. The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method.

Overrides:
remove in class DisposableIntIterator

read

public int read()
Read the next element wihtout incrementing



Copyright © 2012. All Rights Reserved.