Class Longest<T>
- java.lang.Object
-
- uk.gov.gchq.koryphe.function.KorypheFunction<TUPLE,R>
-
- uk.gov.gchq.koryphe.tuple.function.KorypheFunctionN<Tuple2<T,U>,R>
-
- uk.gov.gchq.koryphe.tuple.function.KorypheFunction2<T,T,T>
-
- uk.gov.gchq.koryphe.impl.function.Longest<T>
-
- Type Parameters:
T
- the type of input objects
public class Longest<T> extends KorypheFunction2<T,T,T>
ALongest
is aFunction
which takes two inputs and returns the longest of the two.
-
-
Constructor Summary
Constructors Constructor Description Longest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
apply(T first, T second)
-
Methods inherited from class uk.gov.gchq.koryphe.tuple.function.KorypheFunction2
delegateApply
-
Methods inherited from class uk.gov.gchq.koryphe.tuple.function.KorypheFunctionN
apply
-
Methods inherited from class uk.gov.gchq.koryphe.function.KorypheFunction
equals, hashCode
-
-