Class DetachableHashSet<T>
- java.lang.Object
-
- org.wicketstuff.minis.model.collection.AbstractDetachableCollection<T>
-
- org.wicketstuff.minis.model.collection.DetachableSet<T>
-
- org.wicketstuff.minis.model.collection.DetachableHashSet<T>
-
- Type Parameters:
T-
- All Implemented Interfaces:
Serializable,Iterable<T>,Collection<T>,Set<T>,IDetachable,IClusterable
public class DetachableHashSet<T> extends DetachableSet<T>
A hash set that can be converted between attached and detached states.- Author:
- Igor Vaynberg (ivaynberg)
- See Also:
AbstractDetachableSet,AbstractDetachableCollection, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DetachableHashSet(IDetachCodec<T> codec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Collection<T>newAttachedStore()Creates a collection used to store elements in attached state-
Methods inherited from class org.wicketstuff.minis.model.collection.DetachableSet
add, addAll, clear, contains, containsAll, getAttachedStore, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
-
Methods inherited from class org.wicketstuff.minis.model.collection.AbstractDetachableCollection
attach, detach, equals, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.Set
equals, hashCode, spliterator
-
-
-
-
Constructor Detail
-
DetachableHashSet
public DetachableHashSet(IDetachCodec<T> codec)
- Parameters:
codec-
-
-
Method Detail
-
newAttachedStore
protected Collection<T> newAttachedStore()
Creates a collection used to store elements in attached state- Specified by:
newAttachedStorein classAbstractDetachableCollection<T>- Returns:
- collection used to store elements in attached state
-
-