Class CacheableSet<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<E>
java.util.LinkedHashSet<E>
org.deltava.util.cache.CacheableSet<E>
- Type Parameters:
E- the cacheable object type
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<E>,Collection<E>,SequencedCollection<E>,SequencedSet<E>,Set<E>,Cacheable,CacheableCollection<E>
A utility class to create a cacheable Set.
- Since:
- 1.0
- Version:
- 7.2
- Author:
- Luke
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.LinkedHashSet
addFirst, addLast, getFirst, getLast, newLinkedHashSet, removeFirst, removeLast, reversed, spliteratorMethods inherited from class java.util.HashSet
add, clear, contains, isEmpty, iterator, newHashSet, remove, size, toArray, toArrayMethods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
CacheableSet
-
CacheableSet
Copy constructor.- Parameters:
cc- the original CacheableCollection
-
-
Method Details
-
cacheKey
-
clone
Description copied from interface:CacheableCollectionCreates a copy of the collection.
-