org.abstracthorizon.extend.server.support
Class EnhancedMap.InternalSet<Type>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<E>
          extended by java.util.HashSet<E>
              extended by java.util.LinkedHashSet<Type>
                  extended by org.abstracthorizon.extend.server.support.EnhancedMap.InternalSet<Type>
Type Parameters:
Type -
All Implemented Interfaces:
Serializable, Cloneable, Iterable<Type>, Collection<Type>, Set<Type>
Enclosing class:
EnhancedMap<KeyType,ValueType>

protected class EnhancedMap.InternalSet<Type>
extends LinkedHashSet<Type>

Internal implementation of LinkedHashSet so invoking HashSet.remove(Object) method removes all values from the map as well

Author:
Daniel Sendula
See Also:
Serialized Form

Constructor Summary
protected EnhancedMap.InternalSet()
           
 
Method Summary
 boolean remove(Object object)
           
protected  boolean removeInternal(Object object)
          Internal remove method - invokes super remove method.
 
Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, 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, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

EnhancedMap.InternalSet

protected EnhancedMap.InternalSet()
Method Detail

remove

public boolean remove(Object object)
Specified by:
remove in interface Collection<Type>
Specified by:
remove in interface Set<Type>
Overrides:
remove in class HashSet<Type>

removeInternal

protected boolean removeInternal(Object object)
Internal remove method - invokes super remove method.

Parameters:
object - object to be removed
Returns:
true if removed


Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.