cdqa.iterator
Class All

java.lang.Object
  extended by cdqa.iterator.Iterator
      extended by cdqa.iterator.BooleanIterator
          extended by cdqa.iterator.UnaryOpBooleanIterator
              extended by cdqa.iterator.All

public final class All
extends UnaryOpBooleanIterator


Nested Class Summary
 
Nested classes/interfaces inherited from class cdqa.iterator.Iterator
Iterator.IteratorManager
 
Field Summary
(package private)  UnaryPredicate p
           
 
Fields inherited from class cdqa.iterator.UnaryOpBooleanIterator
i
 
Fields inherited from class cdqa.iterator.Iterator
current, initValue, NULL
 
Constructor Summary
All(Iterator i, UnaryPredicate p)
           
 
Method Summary
 boolean getValue()
          returns false if i is empty or there exist o in i such that p(o) is false, and true otherwise.
 
Methods inherited from class cdqa.iterator.UnaryOpBooleanIterator
postInit, preClose
 
Methods inherited from class cdqa.iterator.BooleanIterator
asBooleanIterator, pumpNext
 
Methods inherited from class cdqa.iterator.Iterator
aggreg, all, and, close, constant, constant, constant, constant, constant, debugPrint, empty, exist, getCurrent, init, init, join, join, list, ljoin, ljoin, map, mapL, mapL, mapL, mTOm, next, not, or, rjoin, rjoin, scan, scan, theFalseIterator, theTrueIterator, toPrintWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

p

UnaryPredicate p
Constructor Detail

All

public All(Iterator i,
           UnaryPredicate p)
Method Detail

getValue

public boolean getValue()
returns false if i is empty or there exist o in i such that p(o) is false, and true otherwise.

Specified by:
getValue in class BooleanIterator