public abstract class AbstractSortedBagDecorator extends AbstractBagDecorator implements SortedBag
SortedBag to provide additional behaviour.
Methods are forwarded directly to the decorated bag.
| Modifier and Type | Method and Description |
|---|---|
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.
|
add, getCount, remove, uniqueSetadd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toStringadd, add, containsAll, getCount, iterator, remove, remove, removeAll, retainAll, size, uniqueSetpublic java.lang.Object first()
SortedBagpublic java.lang.Object last()
SortedBagpublic java.util.Comparator comparator()
SortedBagcomparator in interface SortedBag"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"