org.glassfish.gmbal.generic
Class NullaryFunction.Factory

java.lang.Object
  extended by org.glassfish.gmbal.generic.NullaryFunction.Factory
Enclosing interface:
NullaryFunction<T>

public static class NullaryFunction.Factory
extends Object


Method Summary
static
<T> NullaryFunction<T>
makeConstant(T value)
           
static
<T> NullaryFunction<T>
makeFuture(NullaryFunction<T> closure)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

makeConstant

public static <T> NullaryFunction<T> makeConstant(T value)

makeFuture

public static <T> NullaryFunction<T> makeFuture(NullaryFunction<T> closure)


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.