lombok-pg -

lombok
Class Functions.Function2<T1,T2,R>

java.lang.Object
  extended by lombok.Functions.Function2<T1,T2,R>
Type Parameters:
T1 - The type of the first parameter of the method that this delegate encapsulates.
T2 - The type of the second parameter of the method that this delegate encapsulates.
R - The type of the return value of the method that this delegate encapsulates.
Enclosing class:
Functions

public abstract static class Functions.Function2<T1,T2,R>
extends Object

Encapsulates a method that has two parameters and returns a value of the type specified by the R parameter.


Constructor Summary
Functions.Function2()
           
 
Method Summary
abstract  R apply(T1 t1, T2 t2)
           
 Class<?> getParameterType1()
           
 Class<?> getParameterType2()
           
 Class<?> getReturnType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Functions.Function2

public Functions.Function2()
Method Detail

apply

public abstract R apply(T1 t1,
                        T2 t2)

getReturnType

public final Class<?> getReturnType()

getParameterType1

public final Class<?> getParameterType1()

getParameterType2

public final Class<?> getParameterType2()

lombok-pg -

Copyright © 2010-2011 Philipp Eichhorn, licensed under the MIT licence.