jcreek.util.selection
Class SelectionSet
java.lang.Object
java.util.AbstractCollection
java.util.AbstractSet
java.util.HashSet
jcreek.util.selection.SelectionSet
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Collection, java.io.Serializable, java.util.Set
- public class SelectionSet
- extends java.util.HashSet
- See Also:
- Serialized Form
Methods inherited from class java.util.HashSet |
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, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray |
SelectionSet
public SelectionSet()
add
public boolean add(java.lang.Object ob)
- Adds an object to the set, returns true if the object did not already
exist in the set, false if it did.
remove
public boolean remove(java.lang.Object ob)
- Removes an object from the set. Returns true if the object existed in the
set, false if not.
clear
public void clear()
- Clears the contents of the set and sets it to empty.
addSelectionChangeListener
public void addSelectionChangeListener(SelectionChangeListener listener)
removeSelectionChangeListener
public void removeSelectionChangeListener(SelectionChangeListener listener)
Created at IDI, NTNU by the Artificial Intelligence and Learning group