A
- the argument type.T
- the returned value type.public final class ProcedureFunction<A,T> extends Object implements Function<A,T>
Constructor and Description |
---|
ProcedureFunction(Procedure<? super A> procedure)
Create a new ProcedureFunction.
|
public ProcedureFunction(Procedure<? super A> procedure)
procedure
- to adaptpublic static <A,T> ProcedureFunction<A,T> adapt(Procedure<? super A> procedure)
A
- the argument type.T
- the returned value type.procedure
- to adaptCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.