| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList<E>
java.util.LinkedList
net.mazewar.SortedMultiSet
public class SortedMultiSet
An implementation of the SortedSet interface that allows 
 multiple "equivalent" objects to be stored, unlike TreeSet.
| Constructor Summary | |
|---|---|
| SortedMultiSet() | |
| SortedMultiSet(java.util.Collection c) | |
| SortedMultiSet(java.util.Comparator c) | |
| SortedMultiSet(java.util.SortedSet s) | |
| Method Summary | |
|---|---|
|  boolean | add(java.lang.Object o1) | 
|  boolean | addAll(java.util.Collection c) | 
|  java.util.Comparator | comparator() | 
|  boolean | containsAll(java.util.Collection c) | 
|  java.lang.Object | first() | 
|  java.util.SortedSet | headSet(java.lang.Object toElement) | 
|  java.lang.Object | last() | 
|  boolean | removeAll(java.util.Collection c) | 
|  boolean | retainAll(java.util.Collection c) | 
|  java.util.SortedSet | subSet(java.lang.Object fromElement,
       java.lang.Object toElement) | 
|  java.util.SortedSet | tailSet(java.lang.Object fromElement) | 
| Methods inherited from class java.util.LinkedList | 
|---|
| add, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, toArray, toArray | 
| Methods inherited from class java.util.AbstractSequentialList | 
|---|
| iterator | 
| Methods inherited from class java.util.AbstractList | 
|---|
| equals, hashCode, listIterator, subList | 
| Methods inherited from class java.util.AbstractCollection | 
|---|
| isEmpty, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| getClass, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface java.util.Set | 
|---|
| clear, contains, equals, hashCode, isEmpty, iterator, remove, size, toArray, toArray | 
| Methods inherited from interface java.util.List | 
|---|
| equals, hashCode, isEmpty, iterator, listIterator, subList | 
| Methods inherited from interface java.util.Deque | 
|---|
| iterator | 
| Constructor Detail | 
|---|
public SortedMultiSet()
public SortedMultiSet(java.util.Collection c)
public SortedMultiSet(java.util.Comparator c)
public SortedMultiSet(java.util.SortedSet s)
| Method Detail | 
|---|
public boolean add(java.lang.Object o1)
add in interface java.util.Collectionadd in interface java.util.Dequeadd in interface java.util.Listadd in interface java.util.Queueadd in interface java.util.Setadd in class java.util.LinkedListpublic boolean addAll(java.util.Collection c)
addAll in interface java.util.CollectionaddAll in interface java.util.ListaddAll in interface java.util.SetaddAll in class java.util.LinkedListpublic boolean containsAll(java.util.Collection c)
containsAll in interface java.util.CollectioncontainsAll in interface java.util.ListcontainsAll in interface java.util.SetcontainsAll in class java.util.AbstractCollectionpublic java.util.Comparator comparator()
comparator in interface java.util.SortedSetpublic java.lang.Object first()
first in interface java.util.SortedSetpublic java.lang.Object last()
last in interface java.util.SortedSetpublic java.util.SortedSet headSet(java.lang.Object toElement)
headSet in interface java.util.SortedSet
public java.util.SortedSet subSet(java.lang.Object fromElement,
                                  java.lang.Object toElement)
subSet in interface java.util.SortedSetpublic java.util.SortedSet tailSet(java.lang.Object fromElement)
tailSet in interface java.util.SortedSetpublic boolean removeAll(java.util.Collection c)
removeAll in interface java.util.CollectionremoveAll in interface java.util.ListremoveAll in interface java.util.SetremoveAll in class java.util.AbstractCollectionpublic boolean retainAll(java.util.Collection c)
retainAll in interface java.util.CollectionretainAll in interface java.util.ListretainAll in interface java.util.SetretainAll in class java.util.AbstractCollection| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||