T - V - C - public class MappedPredicate<T,C> extends MappedExtractor<T,Boolean,C> implements Predicate<T,C>
| Modifier | Constructor and Description |
|---|---|
protected |
MappedPredicate(Predicate<T,C> target,
int[] map) |
| Modifier and Type | Method and Description |
|---|---|
static <T,C> Predicate<T,C> |
mapPredicate(Predicate<T,C> target,
int[] map) |
compareTo, extract, getCost, getMap, getTarget, isContextDependent, map, mapExtractor, parameterIndices, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompareTo, extract, getCost, isContextDependent, parameterIndicesprotected MappedPredicate(Predicate<T,C> target, int[] map)
target - Target extractormap - Index map, e.g. if it is {5, 3} then the first argument
of this extractor becomes the sixth argument of the target extractor
and the second argument of this extractor becomes the 4th argument
of the target extractor.public static <T,C> Predicate<T,C> mapPredicate(Predicate<T,C> target, int[] map)