org.wicketstuff.minis.util.collection
Class DetachableHashSet<T>

java.lang.Object
  extended by org.wicketstuff.minis.util.collection.AbstractDetachableCollection<T>
      extended by org.wicketstuff.minis.util.collection.DetachableSet<T>
          extended by org.wicketstuff.minis.util.collection.DetachableHashSet<T>
Type Parameters:
T -
All Implemented Interfaces:
java.io.Serializable, java.lang.Iterable<T>, java.util.Collection<T>, java.util.Set<T>, org.apache.wicket.IClusterable, org.apache.wicket.model.IDetachable

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
DetachableHashSet(IDetachCodec<T> codec)
           
 
Method Summary
protected  java.util.Collection<T> newAttachedStore()
          Creates a collection used to store elements in attached state
 
Methods inherited from class org.wicketstuff.minis.util.collection.DetachableSet
add, addAll, clear, contains, containsAll, getAttachedStore, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from class org.wicketstuff.minis.util.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.Set
equals, hashCode
 

Constructor Detail

DetachableHashSet

public DetachableHashSet(IDetachCodec<T> codec)
Parameters:
codec -
Method Detail

newAttachedStore

protected java.util.Collection<T> newAttachedStore()
Description copied from class: AbstractDetachableCollection
Creates a collection used to store elements in attached state

Specified by:
newAttachedStore in class AbstractDetachableCollection<T>
Returns:
collection used to store elements in attached state


Copyright © 2010. All Rights Reserved.