|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SortedBag
Defines a type of Bag that maintains a sorted order among
its unique representative members.
| Method Summary | |
|---|---|
java.util.Comparator |
comparator()
Returns the comparator associated with this sorted set, or null if it uses its elements' natural ordering. |
java.lang.Object |
first()
Returns the first (lowest) member. |
java.lang.Object |
last()
Returns the last (highest) member. |
| Methods inherited from interface org.apache.commons.collections.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 |
|---|
java.util.Comparator comparator()
java.lang.Object first()
java.lang.Object last()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||