org.argouml.util
Class LinkedHashSet
java.lang.Object
java.util.AbstractCollection
java.util.AbstractSet
java.util.HashSet
org.argouml.util.LinkedHashSet
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Collection, java.io.Serializable, java.util.Set
- public class LinkedHashSet
- extends java.util.HashSet
This implements all the same methods of the JDK1.4 LinkedHashSet class and is
provided to give the same functionality for previous versions of JDK.
- See Also:
http://java.sun.com/j2se/1.4.2/docs/api/java/util/LinkedHashSet.html
,
Serialized Form
Constructor Summary |
LinkedHashSet()
Creates a new instance of LinkedHashSet |
Method Summary |
boolean |
add(java.lang.Object o)
|
void |
clear()
|
boolean |
equals(java.lang.Object o)
|
java.util.Iterator |
iterator()
|
boolean |
remove(java.lang.Object o)
|
boolean |
retainAll(java.util.Collection c)
|
java.lang.Object[] |
toArray()
|
java.lang.Object[] |
toArray(java.lang.Object[] a)
|
Methods inherited from class java.util.HashSet |
clone, contains, isEmpty, size |
Methods inherited from class java.util.AbstractSet |
hashCode, removeAll |
Methods inherited from class java.util.AbstractCollection |
addAll, containsAll, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Set |
addAll, containsAll, hashCode, removeAll |
LinkedHashSet
public LinkedHashSet()
- Creates a new instance of LinkedHashSet
add
public boolean add(java.lang.Object o)
remove
public boolean remove(java.lang.Object o)
retainAll
public boolean retainAll(java.util.Collection c)
toArray
public java.lang.Object[] toArray()
toArray
public java.lang.Object[] toArray(java.lang.Object[] a)
clear
public void clear()
equals
public boolean equals(java.lang.Object o)
iterator
public java.util.Iterator iterator()