Class LastItem<T>
- java.lang.Object
-
- uk.gov.gchq.koryphe.function.KorypheFunction<Iterable<T>,T>
-
- uk.gov.gchq.koryphe.impl.function.LastItem<T>
-
- Type Parameters:
T
- the type of objects in the iterable
public class LastItem<T> extends KorypheFunction<Iterable<T>,T>
ALastItem
is aKorypheFunction
that returns the last item from a providedIterable
of items of type T
-
-
Constructor Summary
Constructors Constructor Description LastItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
apply(Iterable<T> input)
-
Methods inherited from class uk.gov.gchq.koryphe.function.KorypheFunction
equals, hashCode
-
-