Class Cast<I,O>
- java.lang.Object
-
- uk.gov.gchq.koryphe.function.KorypheFunction<I,O>
-
- uk.gov.gchq.koryphe.impl.function.Cast<I,O>
-
- All Implemented Interfaces:
Function<I,O>
public class Cast<I,O> extends KorypheFunction<I,O>
ACast
is aFunction
that takes an input class and casts it to an output class.The resulting object is what is returned from the method.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description O
apply(I value)
boolean
equals(Object o)
Class<O>
getOutputClass()
int
hashCode()
void
setOutputClass(Class<O> outputClass)
-
-
-
Method Detail
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classKorypheFunction<I,O>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classKorypheFunction<I,O>
-
-