org.shapelogic.streams
Interface FilterStream<E>

Type Parameters:
E - Input and Output are the same
All Superinterfaces:
Calc<E>, java.util.Iterator<E>, LazyCalc<E>, Stream<E>
All Known Subinterfaces:
ListFilterStream<E>
All Known Implementing Classes:
BaseListFilterStream

public interface FilterStream<E>
extends Stream<E>

FilterStream is the simplest filter Stream.

Author:
Sami Badawi This is the same as the Predicate in Apache Commons is called.

Method Summary
 boolean evaluate(E object)
           
 
Methods inherited from interface org.shapelogic.calculation.LazyCalc
isDirty, setup
 
Methods inherited from interface org.shapelogic.calculation.Calc
getValue
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

evaluate

boolean evaluate(E object)


Copyright © 2008. All Rights Reserved.