E - the type to iterate overpublic interface SortedBag<E> extends Bag<E>
Bag that maintains a sorted order among
its unique representative members.| Modifier and Type | Method and Description |
|---|---|
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.
|
Comparator<? super E> comparator()
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.