Uses of Interface
org.infinispan.functional.Traversable
-
Uses of Traversable in org.infinispan.functional
Modifier and TypeMethodDescriptionFunctionalMap.ReadOnlyMap.entries()
Provides aTraversable
that allows clients to navigate all cached entries.<R> Traversable
<R> FunctionalMap.ReadWriteMap.evalAll
(Function<EntryView.ReadWriteEntryView<K, V>, R> f) Evaluate a read-writeFunction
operation with theEntryView.ReadWriteEntryView
of the value associated with the key, for all existing keys, and returns aTraversable
to navigate each of theFunction
invocation returns.default <R> Traversable
<R> FunctionalMap.ReadWriteMap.evalAll
(SerializableFunction<EntryView.ReadWriteEntryView<K, V>, R> f) Same asFunctionalMap.ReadWriteMap.evalAll(Function)
except that the function must also implementSerializable
<R> Traversable
<R> FunctionalMap.ReadOnlyMap.evalMany
(Set<? extends K> keys, Function<EntryView.ReadEntryView<K, V>, R> f) Evaluate a read-only function on a key and potential value associated in the functional map, for each of the keys in the set passed in, and returns anTraversable
to work on each computed function's result.default <R> Traversable
<R> FunctionalMap.ReadOnlyMap.evalMany
(Set<? extends K> keys, SerializableFunction<EntryView.ReadEntryView<K, V>, R> f) Same asFunctionalMap.ReadOnlyMap.evalMany(Set, Function)
except that the function must also implementSerializable
<T,
R> Traversable <R> FunctionalMap.ReadWriteMap.evalMany
(Map<? extends K, ? extends T> arguments, BiFunction<T, EntryView.ReadWriteEntryView<K, V>, R> f) Evaluate a read-writeBiFunction
, with an argument passed in and aEntryView.ReadWriteEntryView
of the value associated with the key, for each of the keys in the set passed in, and returns anTraversable
to navigate each of theBiFunction
invocation returns.default <T,
R> Traversable <R> FunctionalMap.ReadWriteMap.evalMany
(Map<? extends K, ? extends T> arguments, SerializableBiFunction<T, EntryView.ReadWriteEntryView<K, V>, R> f) Same asFunctionalMap.ReadWriteMap.evalMany(Map, BiFunction)
except that the function must also implementSerializable
<R> Traversable
<R> FunctionalMap.ReadWriteMap.evalMany
(Set<? extends K> keys, Function<EntryView.ReadWriteEntryView<K, V>, R> f) Evaluate a read-writeFunction
operation with theEntryView.ReadWriteEntryView
of the value associated with the key, for each of the keys in the set passed in, and returns aTraversable
to navigate each of theFunction
invocation returns.default <R> Traversable
<R> FunctionalMap.ReadWriteMap.evalMany
(Set<? extends K> keys, SerializableFunction<EntryView.ReadWriteEntryView<K, V>, R> f) Same asFunctionalMap.ReadWriteMap.evalMany(Set, Function)
except that the function must also implementSerializable
An intermediate operation that returns a traversable containing elements matching the given predicate.<R> Traversable
<R> Traversable.flatMap
(Function<? super T, ? extends Traversable<? extends R>> f) An intermediate operation that returns a traversable containing the results of replacing each element of this traversable with the contents of a traversable produced by applying the provided function to each element.FunctionalMap.ReadOnlyMap.keys()
Provides aTraversable
that allows clients to navigate all cached keys.<R> Traversable
<R> An intermediate operation that returns a traversable containing the results of applying the given function over the elements of the traversable.Modifier and TypeMethodDescription<R> Traversable
<R> Traversable.flatMap
(Function<? super T, ? extends Traversable<? extends R>> f) An intermediate operation that returns a traversable containing the results of replacing each element of this traversable with the contents of a traversable produced by applying the provided function to each element. -
Uses of Traversable in org.infinispan.functional.impl
Modifier and TypeMethodDescriptionReadOnlyMapImpl.entries()
<R> Traversable
<R> ReadWriteMapImpl.evalAll
(Function<EntryView.ReadWriteEntryView<K, V>, R> f) <R> Traversable
<R> SimpleReadWriteMapImpl.evalAll
(Function<EntryView.ReadWriteEntryView<K, V>, R> f) <R> Traversable
<R> <T,
R> Traversable <R> ReadWriteMapImpl.evalMany
(Map<? extends K, ? extends T> arguments, BiFunction<T, EntryView.ReadWriteEntryView<K, V>, R> f) <R> Traversable
<R> <R> Traversable
<R> <T,
R> Traversable <R> SimpleReadWriteMapImpl.evalMany
(Map<? extends K, ? extends T> arguments, BiFunction<T, EntryView.ReadWriteEntryView<K, V>, R> f) <R> Traversable
<R> SimpleReadWriteMapImpl.evalMany
(Set<? extends K> keys, Function<EntryView.ReadWriteEntryView<K, V>, R> f) ReadOnlyMapImpl.keys()
static <T> Traversable
<T> Modifier and TypeMethodDescriptionstatic <T> CloseableIterator
<T> Traversables.asIterator
(Traversable<T> traversable)