Uses of Interface
org.apache.ignite.lang.IgnitePredicate
-
Packages that use IgnitePredicate Package Description org.apache.ignite.internal.util org.apache.ignite.internal.util.lang org.apache.ignite.internal.util.lang.gridfunc org.apache.ignite.internal.util.typedef -
-
Uses of IgnitePredicate in org.apache.ignite.internal.util
Methods in org.apache.ignite.internal.util with parameters of type IgnitePredicate Modifier and Type Method Description static Class<?>CommonUtils. forName(String clsName, @Nullable ClassLoader ldr, @Nullable IgnitePredicate<String> clsFilter, boolean useCache)Gets class for provided name. -
Uses of IgnitePredicate in org.apache.ignite.internal.util.lang
Methods in org.apache.ignite.internal.util.lang that return IgnitePredicate Modifier and Type Method Description static <T> IgnitePredicate<T>GridFunc. alwaysFalse()Gets predicate that always returnsfalse.static <T> IgnitePredicate<T>GridFunc. alwaysTrue()Gets predicate that always returnstrue.static <K,V>
IgnitePredicate<javax.cache.Cache.Entry<K,V>>GridFunc. cacheHasPeekValue()Gets predicate which returnstrueif entry has peek value.static <T> IgnitePredicate<T>GridFunc. not(@Nullable IgnitePredicate<? super T>... p)Negates given predicates.static <T> IgnitePredicate<T>GridFunc. notContains(@Nullable Collection<T> c)Provides predicate which returnstrueif it receives an element that is not contained in the passed in collection.static <T> IgnitePredicate<T>GridFunc. notEqualTo(T target)Gets predicate that evaluates totrueif its free variable is not equal totargetor both arenull.static <T> IgnitePredicate<T>GridFunc. notIn(@Nullable Collection<? extends T> c)Gets predicate that returnstrueif its free variable is not contained in given collection.static <T> IgnitePredicate<T>GridFunc. notNull()Gets predicate that evaluates totrueif its free variable is notnull.Methods in org.apache.ignite.internal.util.lang with parameters of type IgnitePredicate Modifier and Type Method Description static <V> booleanGridFunc. exist(Iterable<? extends V> c, @Nullable IgnitePredicate<? super V>... p)Checks for existence of the element in input collection for which all provided predicates evaluate totrue.static <V> VGridFunc. find(Iterable<? extends V> c, V dfltVal, @Nullable IgnitePredicate<? super V>... p)Finds and returns first element in given collection for which any of the provided predicates evaluates totrue.static <T> booleanGridFunc. isAll(T t, @Nullable IgnitePredicate<? super T>... p)Tests if all provided predicates evaluate totruefor given value.static booleanGridFunc. isAlwaysFalse(@Nullable IgnitePredicate[] p)Tests whether or not given set of predicates consists only of one predicate returned fromGridFunc.alwaysFalse()method.static booleanGridFunc. isAlwaysFalse(IgnitePredicate p)Tests whether or not given predicate is the one returned fromGridFunc.alwaysFalse()method.static booleanGridFunc. isAlwaysTrue(@Nullable IgnitePredicate[] p)Tests whether or not given set of predicates consists only of one predicate returned fromGridFunc.alwaysTrue()method.static booleanGridFunc. isAlwaysTrue(IgnitePredicate p)Tests whether or not given predicate is the one returned fromGridFunc.alwaysTrue()method.static <T> booleanGridFunc. isAny(T t, @Nullable IgnitePredicate<? super T>... p)Tests if any of provided predicates evaluate totruefor given value.static <T1,T2>
GridIterator<T2>GridFunc. iterator(Iterable<? extends T1> c, IgniteClosure<? super T1,T2> trans, boolean readOnly, @Nullable IgnitePredicate<? super T1>... p)Creates and returns transforming iterator from given collection and optional filtering predicates.static <T1,T2>
Iterator<T2>GridFunc. iterator(Iterator<? extends T1> c, IgniteClosure<? super T1,T2> trans, boolean readOnly, @Nullable IgnitePredicate<? super T1>... p)static <T> GridIterator<T>GridFunc. iterator0(Iterable<? extends T> c, boolean readOnly, IgnitePredicate<? super T>... p)Creates and returns iterator from given collection and optional filtering predicates.static <T> Collection<T>GridFunc. lose(Collection<T> c, boolean cp, @Nullable IgnitePredicate<? super T>... p)Loses all elements in input collection that are evaluated totrueby all given predicates.static <T> IgnitePredicate<T>GridFunc. not(@Nullable IgnitePredicate<? super T>... p)Negates given predicates.static <T> Collection<T>GridFunc. retain(Collection<T> c, boolean cp, @Nullable IgnitePredicate<? super T>... p)Retains all elements in input collection that are evaluated totrueby all given predicates.static <T> intGridFunc. size(@Nullable Collection<? extends T> c, @Nullable IgnitePredicate<? super T>... p)Gets size of the given collection with provided optional predicates.static <T> intGridFunc. size(@Nullable Iterator<? extends T> it, @Nullable IgnitePredicate<? super T>... p)Gets size of the given iterator with provided optional predicates.static <T> Collection<T>GridFunc. view(@Nullable Collection<T> c, @Nullable IgnitePredicate<? super T>... p)Creates write-through light-weight view on given collection with provided predicates.static <K0,K extends K0,V0,V extends V0>
Map<K,V>GridFunc. view(@Nullable Map<K,V> m, @Nullable IgnitePredicate<? super K>... p)Creates light-weight view on given map with provided predicates.static <K0,K extends K0,V0,V extends V0>
Map<K,V>GridFunc. viewAsMap(@Nullable Set<K> c, IgniteClosure<? super K,V> mapClo, @Nullable IgnitePredicate<? super K>... p)Read-only map view of a collection.static <T1,T2>
Collection<T2>GridFunc. viewReadOnly(@Nullable Collection<? extends T1> c, IgniteClosure<? super T1,T2> trans, @Nullable IgnitePredicate<? super T1>... p)Creates read-only light-weight view on given collection with transformation and provided predicates.static <K0,K extends K0,V0,V extends V0,V1>
Map<K,V1>GridFunc. viewReadOnly(@Nullable Map<K,V> m, IgniteClosure<V,V1> trans, @Nullable IgnitePredicate<? super K>... p)Read-only view on map that supports transformation of values and key filtering. -
Uses of IgnitePredicate in org.apache.ignite.internal.util.lang.gridfunc
Classes in org.apache.ignite.internal.util.lang.gridfunc that implement IgnitePredicate Modifier and Type Class Description classAlwaysFalsePredicate<E>Defines a predicate which accepts a parameter and always returnsfalseclassAlwaysTruePredicate<E>Defines a predicate which accepts a parameter and always returnstrueclassCacheEntryHasPeekPredicateCache entry has-peek-value predicate.classEntryByKeyEvaluationPredicate<K,V>Predicate evaluates to true for given value.classEqualsUuidPredicateUUID equals predicate.classIsAllPredicate<T>Predicate that evaluates totrueif each of its component preds evaluates totrue.classIsNotAllPredicate<T>Negated predicate.classIsNotNullPredicate<E>Defines a predicate which checks a parameter onnull.classNotContainsPredicate<T>Predicate that returnstrueif its free variable is not contained in given collection.classNotEqualPredicate<T>Predicate that evaluates totrueif its free variable is equal totargetor both arenull.Constructors in org.apache.ignite.internal.util.lang.gridfunc with parameters of type IgnitePredicate Constructor Description EntryByKeyEvaluationPredicate(IgnitePredicate<? super K>... preds)IsAllPredicate(IgnitePredicate<? super T>... preds)IsNotAllPredicate(IgnitePredicate<? super T>... preds)PredicateCollectionView(Collection<T> col, IgnitePredicate<? super T>... preds)PredicateMapView(Map<K,V> map, IgnitePredicate<? super K>... preds)PredicateSetView(Set<K> set, IgniteClosure<? super K,V> clo, IgnitePredicate<? super K>... preds)TransformCollectionView(Collection<? extends T2> col, IgniteClosure<? super T2,T1> clos, IgnitePredicate<? super T2>... preds)TransformFilteringIterator(Iterator<? extends T1> iter, IgniteClosure<? super T1,T2> clos, boolean readOnly, IgnitePredicate<? super T1>... preds)TransformMapView(Map<K,V> map, IgniteClosure<V,V1> clos, IgnitePredicate<? super K>... preds) -
Uses of IgnitePredicate in org.apache.ignite.internal.util.typedef
Subinterfaces of IgnitePredicate in org.apache.ignite.internal.util.typedef Modifier and Type Interface Description interfaceP1<E1>DefinesaliasforIgnitePredicateby extending it.interfacePCE<K,V>Definesaliasfor GridPredicate<Entry<K, V>> by extendingIgnitePredicate.
-