org.glassfish.pfl.ff
Class Factory.NullaryFunctionConstantImpl<T>

java.lang.Object
  extended by org.glassfish.pfl.basic.func.FunctionBase
      extended by org.glassfish.pfl.basic.func.NullaryFunctionBase<T>
          extended by org.glassfish.pfl.ff.Factory.NullaryFunctionConstantImpl<T>
All Implemented Interfaces:
NullaryFunction<T>
Enclosing class:
Factory

public static class Factory.NullaryFunctionConstantImpl<T>
extends NullaryFunctionBase<T>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.glassfish.pfl.basic.func.NullaryFunction
NullaryFunction.Factory
 
Constructor Summary
Factory.NullaryFunctionConstantImpl(T value)
           
 
Method Summary
 T eval()
           
 T value()
           
 
Methods inherited from class org.glassfish.pfl.basic.func.NullaryFunctionBase
evaluate
 
Methods inherited from class org.glassfish.pfl.basic.func.FunctionBase
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Factory.NullaryFunctionConstantImpl

public Factory.NullaryFunctionConstantImpl(T value)
Method Detail

eval

public T eval()
Specified by:
eval in class NullaryFunctionBase<T>

value

public T value()