cdqa.iterator

Class Empty


public final class Empty
extends UnaryOpBooleanIterator

Empty iterator based on UnaryOpBooleanIterator
Author:
simonkm

Nested Class Summary

Nested classes/interfaces inherited from class cdqa.iterator.Iterator

Iterator.IteratorManager

Field Summary

Fields inherited from class cdqa.iterator.UnaryOpBooleanIterator

i

Fields inherited from class cdqa.iterator.Iterator

NULL, current, initValue

Constructor Summary

Empty(Iterator i)

Method Summary

boolean
getValue()
returns true if it is end, false otherwise

Methods inherited from class cdqa.iterator.UnaryOpBooleanIterator

postInit, preClose

Methods inherited from class cdqa.iterator.BooleanIterator

asBooleanIterator, getValue, postInit, preClose, pumpNext

Methods inherited from class cdqa.iterator.Iterator

aggreg, all, and, asBooleanIterator, close, constant, constant, constant, constant, constant, debugPrint, empty, exist, getCurrent, init, init, join, join, list, ljoin, ljoin, mTOm, map, mapL, mapL, mapL, next, not, or, postInit, preClose, pumpNext, rjoin, rjoin, scan, scan, theFalseIterator, theTrueIterator, toPrintWriter

Constructor Details

Empty

public Empty(Iterator i)

Method Details

getValue

public boolean getValue()
returns true if it is end, false otherwise
Overrides:
getValue in interface BooleanIterator