Class TupleAdaptedPredicate<R,PI>
- java.lang.Object
-
- uk.gov.gchq.koryphe.adapted.InputAdapted<I,PI>
-
- uk.gov.gchq.koryphe.predicate.AdaptedPredicate<Tuple<R>,PI>
-
- uk.gov.gchq.koryphe.tuple.predicate.TupleAdaptedPredicate<R,PI>
-
- Type Parameters:
R
- Reference type used by tuplesPI
- Input type of the Predicate
- Direct Known Subclasses:
IntegerTupleAdaptedPredicate
public class TupleAdaptedPredicate<R,PI> extends AdaptedPredicate<Tuple<R>,PI>
- See Also:
TupleInputAdapter
-
-
Constructor Summary
Constructors Constructor Description TupleAdaptedPredicate()
Default constructor - for serialisation.TupleAdaptedPredicate(Predicate<PI> predicate, R[] selection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TupleInputAdapter<R,PI>
getInputAdapter()
R[]
getSelection()
void
setSelection(R[] selection)
-
Methods inherited from class uk.gov.gchq.koryphe.predicate.AdaptedPredicate
equals, getPredicate, hashCode, setPredicate, test
-
Methods inherited from class uk.gov.gchq.koryphe.adapted.InputAdapted
setInputAdapter
-
-
-
-
Method Detail
-
getSelection
public R[] getSelection()
-
setSelection
public void setSelection(R[] selection)
-
getInputAdapter
public TupleInputAdapter<R,PI> getInputAdapter()
- Overrides:
getInputAdapter
in classInputAdapted<Tuple<R>,PI>
-
-