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, spliterator
Methods inherited from class java.util.HashSet
add, clear, contains, isEmpty, iterator, newHashSet, remove, size, toArray, toArray
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:CacheableCollection
Creates a copy of the collection.
-