org.gcube.data.streams.generators
Class Filter<E1,E2>

java.lang.Object
  extended by org.gcube.data.streams.generators.Filter<E1,E2>
Type Parameters:
E1 - the type of input elements
E2 - the type of yielded elements
All Implemented Interfaces:
Generator<E1,E2>
Direct Known Subclasses:
Processor

public abstract class Filter<E1,E2>
extends Object
implements Generator<E1,E2>

A partial implementation of Filter that provides support for skipping elements

Author:
Fabio Simeoni

Field Summary
 
Fields inherited from interface org.gcube.data.streams.generators.Generator
iteration
 
Constructor Summary
Filter()
           
 
Method Summary
protected  void skip()
          Invoked to skip the current element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.gcube.data.streams.generators.Generator
yield
 

Constructor Detail

Filter

public Filter()
Method Detail

skip

protected void skip()
Invoked to skip the current element.



Copyright © 2012. All Rights Reserved.