net.sf.josceleton.commons.collection
Class SafeLinkedHashSet<E>

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<E>
                  extended by net.sf.josceleton.commons.collection.SafeLinkedHashSet<E>
All Implemented Interfaces:
Serializable, Cloneable, Iterable<E>, Collection<E>, Set<E>

public class SafeLinkedHashSet<E>
extends LinkedHashSet<E>

See Also:
Serialized Form

Constructor Summary
SafeLinkedHashSet()
           
 
Method Summary
 boolean add(E entity)
           
 boolean remove(Object entity)
           
 
Methods inherited from class java.util.HashSet
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
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

SafeLinkedHashSet

public SafeLinkedHashSet()
Method Detail

remove

public final boolean remove(Object entity)
Specified by:
remove in interface Collection<E>
Specified by:
remove in interface Set<E>
Overrides:
remove in class HashSet<E>

add

public final boolean add(E entity)
Specified by:
add in interface Collection<E>
Specified by:
add in interface Set<E>
Overrides:
add in class HashSet<E>


Copyright © 2011 Josceleton. All Rights Reserved.