org.gcube.data.streams.generators
Class NoOpGenerator<E>
java.lang.Object
org.gcube.data.streams.generators.NoOpGenerator<E>
- Type Parameters:
E - the type of stream elements
- All Implemented Interfaces:
- Generator<E,E>
public class NoOpGenerator<E>
- extends Object
- implements Generator<E,E>
A pass-through Generator.
- Author:
- Fabio Simeoni
|
Method Summary |
E |
yield(E element)
Yields an element of a Stream from an element of another Stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoOpGenerator
public NoOpGenerator()
yield
public E yield(E element)
- Description copied from interface:
Generator
- Yields an element of a
Stream from an element of another Stream.
- Specified by:
yield in interface Generator<E,E>
- Parameters:
element - the input element
- Returns:
- the output element
Copyright © 2012. All Rights Reserved.