|
BRUtil - Making Java a Kinder, Gentler, Place to be. |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--brutil.AbstractListing
|
+--brutil.AbstractMultiSet
|
+--brutil.AbstractSet
|
+--brutil.AbstractSortedList
| Fields inherited from class brutil.AbstractListing |
list |
| Constructor Summary | |
AbstractSortedList()
|
|
| Method Summary | |
java.lang.Object |
add(java.lang.Object elt)
Add the specified object to the Set. |
java.lang.Object |
find(java.lang.Object elt)
|
int |
numOccurences(java.lang.Object elt)
Return the number of times the specified object occurs in the set. |
boolean |
removeAll(java.lang.Object elt)
Remove all instances of specified object from the MultiSet |
| Methods inherited from class brutil.AbstractMultiSet |
contains, iterator, remove |
| Methods inherited from class brutil.AbstractListing |
clear, isEmpty, listFactory, size |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface brutil.Set |
contains, isEmpty, iterator, remove |
| Methods inherited from interface brutil.Collection |
clear, size |
| Constructor Detail |
public AbstractSortedList()
| Method Detail |
public java.lang.Object find(java.lang.Object elt)
find in interface Setfind in class AbstractMultiSet.equals()public java.lang.Object add(java.lang.Object elt)
add in interface Setadd in class AbstractSeto - The object to add to the Set.Object inserted into the set.public int numOccurences(java.lang.Object elt)
numOccurences in interface MultiSetnumOccurences in class AbstractMultiSeto - The object to find the number of instance topublic boolean removeAll(java.lang.Object elt)
removeAll in interface MultiSetremoveAll in class AbstractMultiSeto - The object to remove.true if the object was in the set,
false otherwise.
|
BRUtil - Making Java a Kinder, Gentler, Place to be. |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||