cz.cuni.versatile.core
Class PreferenceBagImpl

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractSet
          extended byjava.util.HashSet
              extended bycz.cuni.versatile.core.PreferenceBagImpl
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, PreferenceBag, java.io.Serializable, java.util.Set

public class PreferenceBagImpl
extends java.util.HashSet
implements PreferenceBag

Default implementation of the PreferenceBag interface.

Author:
Jaroslav Gergic
See Also:
Serialized Form

Constructor Summary
PreferenceBagImpl()
           
PreferenceBagImpl(java.util.Collection c)
           
PreferenceBagImpl(int initialCapacity)
           
PreferenceBagImpl(int initialCapacity, float loadFactor)
           
 
Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, remove, size
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

PreferenceBagImpl

public PreferenceBagImpl()
See Also:
HashSet.HashSet()

PreferenceBagImpl

public PreferenceBagImpl(int initialCapacity)
See Also:
HashSet.HashSet(int)

PreferenceBagImpl

public PreferenceBagImpl(int initialCapacity,
                         float loadFactor)
See Also:
HashSet.HashSet(int, float)

PreferenceBagImpl

public PreferenceBagImpl(java.util.Collection c)
See Also:
HashSet.HashSet(java.util.Collection)