| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final Comparator | |
| private final T[] | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public ParallelSortedSetIterable | asParallel(ExecutorService executorService, int batchSize)
Overrides org. Implements org. Returns a parallel iterable of this SortedSetIterable. |
| public <V> ImmutableList | collectWithIndex(ObjectIntToObjectFunction<? super T, ? extends V> function)
Overrides default org. Returns a new OrderedIterable using results obtained by applying the specified function to each element and its corresponding index. |
| public Comparator | comparator()
Implements org. Returns the comparator used to order the elements in this set,
or |
| private int | |
| public int | compareTo(SortedSetIterable<T> otherSet)
Implements java. Compares this object with the specified object for order. |
| public boolean | contains(Object object)
Overrides org. Implements org. Returns true if the iterable has an element which responds true to element.equals(object). |
| public <S> boolean | corresponds(OrderedIterable<S> other, Predicate2<? super T, ? super S> predicate)
Overrides org. Implements org. Returns true if both OrderedIterables have the same length
and |
| public int | detectIndex(Predicate<? super T> predicate)
Overrides org. Implements org. Returns the index of the first element of the |
| public ImmutableSortedSet | drop(int count)
Implements org. Returns an iterable after skipping the first |
| public void | each(Procedure<? super T> procedure)
Implements org. The procedure is executed for each element in the iterable. |
| public boolean | equals(Object obj)
Overrides java. Implements org. Follows the same general contract as |
| public T | first()
Implements java. Returns the first (lowest) element currently in this set. |
| public void | forEach(int fromIndex, int toIndex, Procedure<? super T> procedure)
Implements org. Iterates over the section of the iterable covered by the specified inclusive indexes. |
| public void | forEachWithIndex(int fromIndex, int toIndex, ObjectIntProcedure<? super T> objectIntProcedure)
Implements org. Iterates over the section of the iterable covered by the specified inclusive indexes. |
| public int | hashCode()
Overrides java. Implements org. Follows the same general contract as |
| public int | indexOf(Object object)
Overrides default org. Returns the index of the first occurrence of the specified item in this iterable, or -1 if this iterable does not contain the item. |
| public Iterator | iterator()
Implements java. Returns an iterator over elements of type |
| public T | last()
Implements java. Returns the last (highest) element currently in this set. |
| public static <T> ImmutableSortedSet | |
| public static <T> ImmutableSortedSet | |
| public static <T> ImmutableSortedSet | |
| public static <T> ImmutableSortedSet | |
| public static <T> ImmutableSortedSet | |
| public int | size()
Implements org. Returns the number of items in this iterable. |
| public ImmutableSortedSet | take(int count)
Implements org. Returns the first |
| private Object |