|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<ItemType>
net.sf.taverna.t2.partition.HashSetModel<ItemType>
public class HashSetModel<ItemType>
Implementation of SetModel based on a HashSet
| Constructor Summary | |
|---|---|
HashSetModel()
Default constructor, creates a set model based on a HashSet |
|
| Method Summary | |
|---|---|
boolean |
add(ItemType item)
|
void |
addSetModelChangeListener(SetModelChangeListener<ItemType> listener)
Implements SetModel |
void |
clear()
|
boolean |
remove(java.lang.Object item)
|
void |
removeSetModelChangeListener(SetModelChangeListener<ItemType> listener)
Implements SetModel |
| 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 |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Set |
|---|
addAll, contains, containsAll, equals, hashCode, isEmpty, iterator, removeAll, retainAll, size, toArray, toArray |
| Constructor Detail |
|---|
public HashSetModel()
| Method Detail |
|---|
public void addSetModelChangeListener(SetModelChangeListener<ItemType> listener)
addSetModelChangeListener in interface SetModel<ItemType>public void removeSetModelChangeListener(SetModelChangeListener<ItemType> listener)
removeSetModelChangeListener in interface SetModel<ItemType>public void clear()
clear in interface java.util.Collection<ItemType>clear in interface java.util.Set<ItemType>clear in class java.util.HashSet<ItemType>public boolean add(ItemType item)
add in interface java.util.Collection<ItemType>add in interface java.util.Set<ItemType>add in class java.util.HashSet<ItemType>public boolean remove(java.lang.Object item)
remove in interface java.util.Collection<ItemType>remove in interface java.util.Set<ItemType>remove in class java.util.HashSet<ItemType>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||