| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private static final short[] | |
| protected transient short[] | |
| private static final int | |
| private static final long | |
| protected int | |
| private static final short[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | add(short newItem)
Implements org.
|
| public boolean | addAll(short... source)
Implements org.
|
| public boolean | |
| public boolean | addAllAtIndex(int index, short... source)
Implements org.
|
| public boolean | addAllAtIndex(int index, ShortIterable source)
Implements org.
|
| public void | addAtIndex(int index, short element)
Implements org.
|
| private void | |
| public boolean | allSatisfy(ShortPredicate predicate)
Implements org. Returns true if all of the elements in the ShortIterable return true for the specified predicate, otherwise returns false. |
| public boolean | anySatisfy(ShortPredicate predicate)
Implements org. Returns true if any of the elements in the ShortIterable return true for the specified predicate, otherwise returns false. |
| public void | appendString(Appendable appendable, String start, String separator, String end)
Implements org. Prints a string representation of this collection onto the given |
| public LazyShortIterable | |
| public MutableShortList | |
| public MutableShortList | |
| public int | binarySearch(short value)
Implements org.
|
| public MutableList | |
| private void | |
| public RichIterable | chunk(int size)
Overrides default org. Partitions elements in fixed size chunks. |
| public void | |
| public <V> MutableList | collect(ShortToObjectFunction<? extends V> function)
Implements org. Returns a new collection with the results of applying the specified function on each element of the source collection. |
| public <V, R extends Collection | collect(ShortToObjectFunction<? extends V> function, R target)
Overrides default org. Same as |
| public boolean | contains(short value)
Implements org. Returns true if the value is contained in the ShortIterable, and false if it is not. |
| private void | |
| private short[] | |
| public int | count(ShortPredicate predicate)
Implements org. Returns a count of the number of elements in the ShortIterable that return true for the specified predicate. |
| public short | detectIfNone(ShortPredicate predicate, short ifNone)
Implements org.
|
| public MutableShortList | |
| public long | |
| public void | each(ShortProcedure procedure)
Implements org. A synonym for forEach. |
| public void | |
| private void | |
| public boolean | equals(Object otherList)
Overrides java. Implements org. Follows the same general contract as |
| public void | |
| public short | |
| public short | |
| public short | |
| public int | hashCode()
Overrides java. Implements org. Follows the same general contract as |
| public int | indexOf(short value)
Implements org.
|
| public <T> T | injectInto(T injectedValue, ObjectShortToObjectFunction<? super T, ? extends T> function)
Implements org.
|
| public <T> T | injectIntoWithIndex(T injectedValue, ObjectShortIntToObjectFunction<? super T, ? extends T> function)
Implements org.
|
| public int | lastIndexOf(short value)
Implements org.
|
| public short | |
| public short | |
| public ShortArrayList | newEmpty()
Overrides default org. Creates a new empty ShortArrayList. |
| private IndexOutOfBoundsException | |
| public static ShortArrayList | |
| public static ShortArrayList | newListWith(short... elements)
Creates a new list using the passed |
| public static ShortArrayList | |
| public void | readExternal(ObjectInput in)
Implements java. The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. |
| public ShortArrayList | reject(ShortPredicate predicate)
Implements org. Returns a new ShortIterable with all of the elements in the ShortIterable that return false for the specified predicate. |
| public <R extends MutableShortCollection> R | reject(ShortPredicate predicate, R target)
Overrides default org. Same as |
| public boolean | remove(short value)
Implements org.
|
| public boolean | |
| public boolean | removeAll(short... source)
Implements org.
|
| public short | removeAtIndex(int index)
Implements org.
|
| public boolean | removeIf(ShortPredicate predicate)
Overrides default org.
|
| public boolean | |
| public boolean | retainAll(short... source)
Implements org.
|
| public ShortArrayList | |
| public ShortArrayList | select(ShortPredicate predicate)
Implements org. Returns a new ShortIterable with all of the elements in the ShortIterable that return true for the specified predicate. |
| public <R extends MutableShortCollection> R | select(ShortPredicate predicate, R target)
Overrides default org. Same as |
| public short | set(int index, short element)
Implements org.
|
| private void | |
| public MutableShortIterator | shortIterator()
Implements org. Returns a primitive iterator that can be used to iterate over the ShortIterable in an imperative style. |
| public int | size()
Implements org. Returns the number of items in this iterable. |
| private int | |
| public ShortArrayList | sortThis()
Implements org. Sorts this list mutating its contents and returns the same mutable list (this). |
| public ShortArrayList | sortThis(ShortComparator comparator)
Overrides default org. Sorts the internal data structure of this list and returns the list itself as a convenience. |
| public MutableShortList | subList(int fromIndex, int toIndex)
Implements org.
|
| public long | |
| public void | swap(int index1, int index2)
Overrides default org.
|
| private void | |
| public short[] | toArray()
Implements org. Converts the ShortIterable to a primitive short array. |
| public short[] | toArray(short[] target)
Overrides default org. Converts the ShortIterable to a primitive short array. |
| public ImmutableShortList | toImmutable()
Implements org. Returns an immutable copy of this list. |
| public ShortArrayList | |
| public MutableShortStack | toStack()
Overrides default org. Converts the collection to a ShortStack. |
| private void | |
| public void | |
| private void | |
| public ShortArrayList | |
| public ShortArrayList | |
| public ShortArrayList | |
| public ShortArrayList | |
| public ShortArrayList | withAll(ShortIterable elements)
Implements org.
|
| private ShortArrayList | |
| public ShortArrayList | without(short element)
Implements org.
|
| public ShortArrayList | |
| public static ShortArrayList | |
| public void | writeExternal(ObjectOutput out)
Implements java. The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays. |
| public <T> MutableList | zip(Iterable<T> iterable)
Overrides default org. Returns a |
| public MutableList | zipShort(ShortIterable iterable)
Overrides default org. Returns a |