E - the original collection type - referred to as old in some methodsR - the resulting collection type - referred to as new in some methodspublic class WriteableCacheSetMapper<E,R> extends WriteableCacheCollectionMapper<E,R> implements CacheSet<R>
Collection.contains(Object) if the underlying Set does. Also implements the Set interface.
This set should be used for cases when a simple transformation of an element to another is all that is needed by the underlying set.
This implementation is basically identical to WriteableCacheCollectionMapper except that this class
also implements Set and all of its optional operations.
fromNewTypeFunction, keyFilterMapper, realCacheCollection, toNewTypeIteratorFunctionmapper, realCollection| Constructor and Description |
|---|
WriteableCacheSetMapper(CacheSet<E> realSet,
InjectiveFunction<? super E,? extends R> toNewTypeFunction,
InjectiveFunction<? super E,? extends R> toNewTypeIteratorFunction,
InjectiveFunction<? super R,? extends E> fromNewTypeFunction,
InjectiveFunction<Object,?> keyFilterFunction) |
WriteableCacheSetMapper(CacheSet<E> realSet,
InjectiveFunction<? super E,? extends R> toNewTypeFunction,
InjectiveFunction<? super R,? extends E> fromNewTypeFunction,
InjectiveFunction<Object,?> keyFilterFunction) |
add, addAll, clear, contains, containsAll, iterator, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, streamforEach, isEmpty, sizetoArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitlocalPublisher, localPublisher, parallelStream, streamspliteratoradd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArrayiteratorremoveIfpublic WriteableCacheSetMapper(CacheSet<E> realSet, InjectiveFunction<? super E,? extends R> toNewTypeFunction, InjectiveFunction<? super R,? extends E> fromNewTypeFunction, InjectiveFunction<Object,?> keyFilterFunction)
public WriteableCacheSetMapper(CacheSet<E> realSet, InjectiveFunction<? super E,? extends R> toNewTypeFunction, InjectiveFunction<? super E,? extends R> toNewTypeIteratorFunction, InjectiveFunction<? super R,? extends E> fromNewTypeFunction, InjectiveFunction<Object,?> keyFilterFunction)
Copyright © 2022 JBoss by Red Hat. All rights reserved.