choco.cp.solver.variables.set
Class SetDomainImpl.SetOpenDomainIterator

java.lang.Object
  extended by choco.kernel.common.util.disposable.Disposable
      extended by choco.kernel.common.util.iterators.DisposableIntIterator
          extended by choco.cp.solver.variables.set.SetDomainImpl.SetOpenDomainIterator
Enclosing class:
SetDomainImpl

protected static final class SetDomainImpl.SetOpenDomainIterator
extends DisposableIntIterator


Method Summary
 boolean hasNext()
           
 void init(BitSetEnumeratedDomain dom1, BitSetEnumeratedDomain dom2)
           
 int next()
           
 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
 

Method Detail

init

public void init(BitSetEnumeratedDomain dom1,
                 BitSetEnumeratedDomain dom2)

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


Copyright © 2012. All Rights Reserved.