com.bigdata.btree.filter
Class LookaheadTupleFilter<E>

java.lang.Object
  extended by com.bigdata.btree.filter.LookaheadTupleFilter<E>
All Implemented Interfaces:
ITupleFilter<E>, cutthecrap.utils.striterators.IFilter, Serializable

public class LookaheadTupleFilter<E>
extends Object
implements ITupleFilter<E>

Lookahead filter for an ITuple. You can push back a single ITuple onto the filter.

Version:
$Id: LookaheadTupleFilter.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson
See Also:
Serialized Form
TODO:
unit tests.

Nested Class Summary
static interface LookaheadTupleFilter.ILookaheadTupleIterator<E>
          Extends iterator semantics for ITuple pushback.
 
Constructor Summary
LookaheadTupleFilter()
           
 
Method Summary
 LookaheadTupleFilter.ILookaheadTupleIterator<E> filter(Iterator src)
          Strengthened return type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookaheadTupleFilter

public LookaheadTupleFilter()
Method Detail

filter

public LookaheadTupleFilter.ILookaheadTupleIterator<E> filter(Iterator src)
Description copied from interface: ITupleFilter
Strengthened return type.

Specified by:
filter in interface ITupleFilter<E>
Specified by:
filter in interface cutthecrap.utils.striterators.IFilter


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.