com.softwareag.centrasite.appl.framework.persistence.impl
Class CSAFHashSet<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<E>
com.softwareag.centrasite.appl.framework.persistence.impl.CSAFHashSet<E>
- All Implemented Interfaces:
- CSAFCollection, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<E>, java.util.Collection<E>, java.util.Set<E>
public class CSAFHashSet<E>
- extends java.util.HashSet<E>
- implements CSAFCollection
HashSet implementation that keeps a modification state.
- See Also:
- Serialized Form
Method Summary |
boolean |
add(E e)
|
boolean |
addAll(java.util.Collection<? extends E> c)
|
void |
clear()
|
boolean |
isModified()
Return whether this list is modified |
boolean |
remove(java.lang.Object o)
|
boolean |
removeAll(java.util.Collection<?> c)
|
void |
resetModified()
Reset modified status. |
boolean |
retainAll(java.util.Collection<?> c)
|
Methods inherited from class java.util.HashSet |
clone, contains, isEmpty, iterator, size |
Methods inherited from class java.util.AbstractSet |
equals, hashCode |
Methods inherited from class java.util.AbstractCollection |
containsAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Set |
containsAll, equals, hashCode, toArray, toArray |
CSAFHashSet
public CSAFHashSet()
isModified
public boolean isModified()
- Return whether this list is modified
- Specified by:
isModified
in interface CSAFCollection
- Returns:
- true if this list is modified
resetModified
public void resetModified()
- Reset modified status.
- Specified by:
resetModified
in interface CSAFCollection
add
public boolean add(E e)
- Specified by:
add
in interface java.util.Collection<E>
- Specified by:
add
in interface java.util.Set<E>
- Overrides:
add
in class java.util.HashSet<E>
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove
in interface java.util.Collection<E>
- Specified by:
remove
in interface java.util.Set<E>
- Overrides:
remove
in class java.util.HashSet<E>
clear
public void clear()
- Specified by:
clear
in interface java.util.Collection<E>
- Specified by:
clear
in interface java.util.Set<E>
- Overrides:
clear
in class java.util.HashSet<E>
removeAll
public boolean removeAll(java.util.Collection<?> c)
- Specified by:
removeAll
in interface java.util.Collection<E>
- Specified by:
removeAll
in interface java.util.Set<E>
- Overrides:
removeAll
in class java.util.AbstractSet<E>
addAll
public boolean addAll(java.util.Collection<? extends E> c)
- Specified by:
addAll
in interface java.util.Collection<E>
- Specified by:
addAll
in interface java.util.Set<E>
- Overrides:
addAll
in class java.util.AbstractCollection<E>
retainAll
public boolean retainAll(java.util.Collection<?> c)
- Specified by:
retainAll
in interface java.util.Collection<E>
- Specified by:
retainAll
in interface java.util.Set<E>
- Overrides:
retainAll
in class java.util.AbstractCollection<E>