net.sf.staccatocommons.collections.stream
Class AbstractDeconsApplicable<A,B>
java.lang.Object
net.sf.staccatocommons.collections.stream.AbstractDeconsApplicable<A,B>
- All Implemented Interfaces:
- Stream.DeconsApplicable<A,B>, Stream.EmptyApplicable<Stream<B>>, Applicable2<A,Stream<A>,Stream<B>>
public abstract class AbstractDeconsApplicable<A,B>
- extends Object
- implements Stream.DeconsApplicable<A,B>
Abstract Stream.DeconsApplicable that returns an empty stream for
emptyApply()
- Author:
- flbulgarelli
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDeconsApplicable
public AbstractDeconsApplicable()
emptyApply
public Stream<B> emptyApply()
- Returns an empty stream
- Specified by:
emptyApply in interface Stream.EmptyApplicable<Stream<B>>
- Returns:
- the result of applying this transformation over and empty
Stream