|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SortedBag<E>
Defines a type of Bag that maintains a sorted order among
its unique representative members.
| Method Summary | |
|---|---|
Comparator<? super E> |
comparator()
Returns the comparator associated with this sorted set, or null if it uses its elements' natural ordering. |
E |
first()
Returns the first (lowest) member. |
E |
last()
Returns the last (highest) member. |
| Methods inherited from interface org.apache.commons.collections15.Bag |
|---|
add, add, containsAll, getCount, iterator, remove, remove, removeAll, retainAll, size, uniqueSet |
| Methods inherited from interface java.util.Collection |
|---|
addAll, clear, contains, equals, hashCode, isEmpty, toArray, toArray |
| Method Detail |
|---|
Comparator<? super E> comparator()
E first()
E last()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||