IntArrayStack.
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 IntArrayList | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| delegate | back to summary |
|---|---|
| private final IntArrayList delegate | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ImmutableIntArrayStack | back to summary |
|---|---|
| private ImmutableIntArrayStack(int[] newElements) | |
| ImmutableIntArrayStack | back to summary |
|---|---|
| private ImmutableIntArrayStack(IntArrayList 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 IntArrayList 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 ImmutableIntArrayStack newStack(IntIterable iterable) | |
| newStackFromTopToBottom | back to summary |
|---|---|
| public static ImmutableIntArrayStack newStackFromTopToBottom(int... items) | |
| newStackFromTopToBottom | back to summary |
|---|---|
| public static ImmutableIntArrayStack newStackFromTopToBottom(IntIterable items) | |
| newStackWith | back to summary |
|---|---|
| public static ImmutableIntArrayStack newStackWith(int... 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 ImmutableIntStack pop() Implements org.
| |
| pop | back to summary |
|---|---|
| public ImmutableIntStack pop(int count) Implements org.
| |
| push | back to summary |
|---|---|
| public ImmutableIntStack push(int item) Implements org.
| |
| reject | back to summary |
|---|---|
| public ImmutableIntStack reject(IntPredicate predicate) Implements org. Doc from org. Returns a new IntIterable with all of the elements in the IntIterable that return false for the specified predicate.
| |
| select | back to summary |
|---|---|
| public ImmutableIntStack select(IntPredicate predicate) Implements org. Doc from org. Returns a new IntIterable with all of the elements in the IntIterable that return true for the specified predicate.
| |
| toImmutable | back to summary |
|---|---|
| public ImmutableIntStack toImmutable() Implements org.
| |
| toSortedList | back to summary |
|---|---|
| public MutableIntList toSortedList() Implements org.
| |
| toStack | back to summary |
|---|---|
| public MutableIntStack toStack() Overrides default org. Doc from org. Converts the collection to a IntStack.
| |
| writeReplace | back to summary |
|---|---|
| private Object writeReplace() | |
| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private IntStack |
| 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 IntStack stack | |
| ImmutableIntStackSerializationProxy | back to summary |
|---|---|
| public ImmutableIntStackSerializationProxy() | |
| ImmutableIntStackSerializationProxy | back to summary |
|---|---|
| protected ImmutableIntStackSerializationProxy(IntStack 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.
| |