ImmutableSortedSet.asList() when the set isn't empty.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Comparator | comparator()
Implements com. Comparator by which the elements of this iterable are ordered, or Ordering.natural() if the elements are ordered by their natural ordering.
|
| public boolean | contains(Object
element whose presence in this list is to be tested target)Overrides com. Implements java. true if this list contains the specified element.
|
| pack-priv ImmutableSortedSet | |
| public int | indexOf(Object
element to search for target)Overrides com. Implements java. |
| public int | lastIndexOf(Object
element to search for target)Overrides com. Implements java. |
| public Spliterator | spliterator()
Overrides com. Overrides default java. Spliterator over the elements described by this
Iterable.
|
| pack-priv ImmutableList | subListUnchecked(int fromIndex, int toIndex)
Overrides com. subList when toIndex - fromIndex > 1,
after index validation has already been performed.
|
| ImmutableSortedAsList | back to summary |
|---|---|
| pack-priv ImmutableSortedAsList(ImmutableSortedSet<E> backingSet, ImmutableList<E> backingList) | |
| comparator | back to summary |
|---|---|
| public Comparator Implements com. Doc from com. Returns the
| |
| contains | back to summary |
|---|---|
| public boolean contains(Object target) Overrides com. Implements java. Doc from java. Returns | |
| delegateCollection | back to summary |
|---|---|
| pack-priv ImmutableSortedSet Overrides com.
| |
| indexOf | back to summary |
|---|---|
| public int indexOf(Object target) Overrides com. Implements java. Doc from java. Returns the index of the first occurrence of the specified element
in this list, or -1 if this list does not contain the element.
More formally, returns the lowest index
| |
| lastIndexOf | back to summary |
|---|---|
| public int lastIndexOf(Object target) Overrides com. Implements java. Doc from java. Returns the index of the last occurrence of the specified element
in this list, or -1 if this list does not contain the element.
More formally, returns the highest index
| |
| spliterator | back to summary |
|---|---|
| public Spliterator Overrides com. Overrides default java. Doc from java. Creates a
| |
| subListUnchecked | back to summary |
|---|---|
| pack-priv ImmutableList Overrides com. Doc from com. Called by the default implementation of
| |