Package org.apache.ignite.internal.util.lang.gridfunc
Contains utilities classes for
GridFunc.-
Class Summary Class Description AlwaysFalsePredicate<E> Defines a predicate which accepts a parameter and always returnsfalseAlwaysTruePredicate<E> Defines a predicate which accepts a parameter and always returnstrueAlwaysTrueReducer<T> Reducer which always returnstruefromIgniteReducer.collect(Object)AtomicIntegerFactoryCallable Atomic integer factory.CacheEntryGetValueClosure Cache entry to get-value transformer closure.CacheEntryHasPeekPredicate Cache entry has-peek-value predicate.ClusterNodeGetIdClosure Grid node to node ID transformer closure.ConcurrentHashSetFactoryCallable Concurrent hash set factory.ConcurrentMapFactoryCallable Concurrent hash map factory.ContainsNodeIdsPredicate<T extends ClusterNode> Grid node predicate evaluating on the given node IDs.ContainsPredicate<T> Predicate which returnstrueif it receives an element that is contained in the passed in collection.EntryByKeyEvaluationPredicate<K,V> Predicate evaluates to true for given value.EqualsClusterNodeIdPredicate<T extends ClusterNode> Creates grid node predicate evaluating on the given node ID.EqualsUuidPredicate UUID equals predicate.FlatCollectionWrapper<T> Wrapper which iterable over the elements of the inner collections.FlatIterator<T> Iterator over the elements of given iterators.HasEqualIdPredicate<T extends ClusterNode> ClusterNodehas equal id predicate.HasNotEqualIdPredicate<T extends ClusterNode> ClusterNodenode has NOT equal id predicate.IdentityClosure Identity closure.IntSumReducer Reducer that calculates sum of integer elements.IsAllPredicate<T> Predicate that evaluates totrueif each of its component preds evaluates totrue.IsNotAllPredicate<T> Negated predicate.IsNotNullPredicate<E> Defines a predicate which checks a parameter onnull.LongSumReducer Reducer that calculates sum of long integer elements.MapFactoryCallable Hash map factory.MultipleIterator<T> Concatenates multiple iterators as single one.NoOpClosure Absolute closure that does nothing.NotContainsPredicate<T> Predicate that returnstrueif its free variable is not contained in given collection.NotEqualPredicate<T> Predicate that evaluates totrueif its free variable is equal totargetor both arenull.PredicateCollectionView<T> Light-weight view on given col with provided predicate.PredicateMapView<K,V> Light-weight view on given map with provided predicate.PredicateSetView<K,V> Light-weight view on given map with provided preds and mapping.ReadOnlyCollectionView<T> Collection wrapper.ReadOnlyCollectionView2X<T> Collections wrapper.RunnableWrapperClosure Closure that wraps given runnable.SetFactoryCallable Hash set factory.StringConcatReducer Reducer that concatenates strings using provided delimiter.ToStringClosure<T> Closure that returntoString()value for its free variable.TransformCollectionView<T1,T2> Light-weight view on given collection with provided predicate.TransformFilteringIterator<T2,T1> Iterator from given iter and optional filtering predicate.TransformMapView<K,V1,V> Light-weight view on given map with provided predicate and clos.TransformMapView2<K,V,V1> Light-weight view on given map with provided predicate and clos.