cdqa.iterator
Class Map

java.lang.Object
  extended by cdqa.iterator.Iterator
      extended by cdqa.iterator.UnaryOpIterator
          extended by cdqa.iterator.Map

public final class Map
extends UnaryOpIterator


Nested Class Summary
 
Nested classes/interfaces inherited from class cdqa.iterator.Iterator
Iterator.IteratorManager
 
Field Summary
(package private)  UnaryFunction f
           
 
Fields inherited from class cdqa.iterator.UnaryOpIterator
i
 
Fields inherited from class cdqa.iterator.Iterator
current, initValue, NULL
 
Constructor Summary
Map(Iterator i, UnaryFunction f)
           
 
Method Summary
 BooleanIterator asBooleanIterator()
           
 XObject pumpNext()
           
 
Methods inherited from class cdqa.iterator.UnaryOpIterator
debugPrint, postInit, preClose, setIterator
 
Methods inherited from class cdqa.iterator.Iterator
aggreg, all, and, close, constant, constant, constant, constant, constant, 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

f

UnaryFunction f
Constructor Detail

Map

public Map(Iterator i,
           UnaryFunction f)
Method Detail

asBooleanIterator

public BooleanIterator asBooleanIterator()
Overrides:
asBooleanIterator in class Iterator

pumpNext

public XObject pumpNext()
Overrides:
pumpNext in class UnaryOpIterator