ShortArrayStack.
This file was automatically generated from template file immutablePrimitiveArrayStack.stg.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ShortArrayList | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| delegate | back to summary |
|---|---|
| private final ShortArrayList delegate | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ImmutableShortArrayStack | back to summary |
|---|---|
| private ImmutableShortArrayStack(short[] newElements) | |
| ImmutableShortArrayStack | back to summary |
|---|---|
| private ImmutableShortArrayStack(ShortArrayList newElements) | |
| checkNegativeCount | back to summary |
|---|---|
| private void checkNegativeCount(int count) | |
| checkOptimizedSize | back to summary |
|---|---|
| private void checkOptimizedSize(int length) | |
| collect | back to summary |
|---|---|
| public <V> ImmutableStack Implements org. Doc from org. Returns a new collection with the results of applying the specified function on each element of the source collection. This method is also commonly called transform or map.
| |
| getDelegate | back to summary |
|---|---|
| protected ShortArrayList getDelegate() Implements abstract org.
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Overrides default org. Doc from org. Returns true if this iterable has zero items.
| |
| newStack | back to summary |
|---|---|
| public static ImmutableShortArrayStack newStack(ShortIterable iterable) | |
| newStackFromTopToBottom | back to summary |
|---|---|
| public static ImmutableShortArrayStack newStackFromTopToBottom(short... items) | |
| newStackFromTopToBottom | back to summary |
|---|---|
| public static ImmutableShortArrayStack newStackFromTopToBottom(ShortIterable items) | |
| newStackWith | back to summary |
|---|---|
| public static ImmutableShortArrayStack newStackWith(short... elements) | |
| notEmpty | back to summary |
|---|---|
| public boolean notEmpty() Overrides default org. Doc from org. The English equivalent of !this.isEmpty()
| |
| pop | back to summary |
|---|---|
| public ImmutableShortStack pop() Implements org.
| |
| pop | back to summary |
|---|---|
| public ImmutableShortStack pop(int count) Implements org.
| |
| push | back to summary |
|---|---|
| public ImmutableShortStack push(short item) Implements org.
| |
| reject | back to summary |
|---|---|
| public ImmutableShortStack reject(ShortPredicate predicate) Implements org. Doc from org. Returns a new ShortIterable with all of the elements in the ShortIterable that return false for the specified predicate.
| |
| select | back to summary |
|---|---|
| public ImmutableShortStack select(ShortPredicate predicate) Implements org. Doc from org. Returns a new ShortIterable with all of the elements in the ShortIterable that return true for the specified predicate.
| |
| toImmutable | back to summary |
|---|---|
| public ImmutableShortStack toImmutable() Implements org.
| |
| toSortedList | back to summary |
|---|---|
| public MutableShortList toSortedList() Implements org.
| |
| toStack | back to summary |
|---|---|
| public MutableShortStack toStack() Overrides default org. Doc from org. Converts the collection to a ShortStack.
| |
| writeReplace | back to summary |
|---|---|
| private Object writeReplace() | |
| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private ShortStack |
| Access | Constructor and Description |
|---|---|
| public | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| 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. |
| protected Object | |
| public void | writeExternal(final 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. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| stack | back to summary |
|---|---|
| private ShortStack stack | |
| ImmutableShortStackSerializationProxy | back to summary |
|---|---|
| public ImmutableShortStackSerializationProxy() | |
| ImmutableShortStackSerializationProxy | back to summary |
|---|---|
| protected ImmutableShortStackSerializationProxy(ShortStack stack) | |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Implements java. Doc from 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. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.
| |
| readResolve | back to summary |
|---|---|
| protected Object readResolve() | |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(final ObjectOutput out) throws IOException Implements java. Doc from 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.
| |