public interface SortedBag extends Bag
Bag
that maintains a sorted order among
its unique representative members.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, add, containsAll, getCount, iterator, remove, remove, removeAll, retainAll, size, uniqueSet
java.util.Comparator comparator()
java.lang.Object first()
java.lang.Object last()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"