- All Implemented Interfaces:
- Direct Known Subclasses:
public class SetMapper<E,R> extends CollectionMapper<E,R> implements java.util.Set<R>A set that maps another one to a new one of a possibly different type. Note this set is read only and doesn't accept write operations.
This class currently only accepts a
Functionthat also implements
InjectiveFunctionso that it can guarantee the resulting mapped values are distinct from each other. This is important as many operations because very costly if this is not true.
Some operations such as
Collection.containsAll(Collection)may be more expensive then normal since they cannot utilize lookups into the original collection.
Fields inherited from class org.infinispan.util.CollectionMapper
Methods inherited from class org.infinispan.util.CollectionMapper
add, addAll, clear, forEach, isEmpty, iterator, parallelStream, remove, removeAll, retainAll, size, spliterator, stream
Methods inherited from class java.util.AbstractCollection
contains, containsAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait