public class FunctorWrapper<T> extends java.lang.Object implements WrappingFunctor<T>
Constructor and Description |
---|
FunctorWrapper() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getFunctor()
Override this method if you are using this class to wrap a Functor that does not
implement this interface natively.
|
<T> WrappingFunctor<T> |
withFunctor(T functor)
Will attempt to create a new instance of this functor type via constructor reflection
if this is a wrapped Functor (i.e.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
map, peek, unwrap
cast, patternMatch, trampoline
public java.lang.Object getFunctor()
WrappingFunctor
getFunctor
in interface WrappingFunctor<T>
public <T> WrappingFunctor<T> withFunctor(T functor)
WrappingFunctor
withFunctor
in interface WrappingFunctor<T>