LongArrayStack.
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 LongArrayList | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| delegate | back to summary |
|---|---|
| private final LongArrayList delegate | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ImmutableLongArrayStack | back to summary |
|---|---|
| private ImmutableLongArrayStack(long[] newElements) | |
| ImmutableLongArrayStack | back to summary |
|---|---|
| private ImmutableLongArrayStack(LongArrayList 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 LongArrayList 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 ImmutableLongArrayStack newStack(LongIterable iterable) | |
| newStackFromTopToBottom | back to summary |
|---|---|
| public static ImmutableLongArrayStack newStackFromTopToBottom(long... items) | |
| newStackFromTopToBottom | back to summary |
|---|---|
| public static ImmutableLongArrayStack newStackFromTopToBottom(LongIterable items) | |
| newStackWith | back to summary |
|---|---|
| public static ImmutableLongArrayStack newStackWith(long... 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 ImmutableLongStack pop() Implements org.
| |
| pop | back to summary |
|---|---|
| public ImmutableLongStack pop(int count) Implements org.
| |
| push | back to summary |
|---|---|
| public ImmutableLongStack push(long item) Implements org.
| |
| reject | back to summary |
|---|---|
| public ImmutableLongStack reject(LongPredicate predicate) Implements org. Doc from org. Returns a new LongIterable with all of the elements in the LongIterable that return false for the specified predicate.
| |
| select | back to summary |
|---|---|
| public ImmutableLongStack select(LongPredicate predicate) Implements org. Doc from org. Returns a new LongIterable with all of the elements in the LongIterable that return true for the specified predicate.
| |
| toImmutable | back to summary |
|---|---|
| public ImmutableLongStack toImmutable() Implements org.
| |
| toSortedList | back to summary |
|---|---|
| public MutableLongList toSortedList() Implements org.
| |
| toStack | back to summary |
|---|---|
| public MutableLongStack toStack() Overrides default org. Doc from org. Converts the collection to a LongStack.
| |
| writeReplace | back to summary |
|---|---|
| private Object writeReplace() | |
| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private LongStack |
| 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 LongStack stack | |
| ImmutableLongStackSerializationProxy | back to summary |
|---|---|
| public ImmutableLongStackSerializationProxy() | |
| ImmutableLongStackSerializationProxy | back to summary |
|---|---|
| protected ImmutableLongStackSerializationProxy(LongStack 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.
| |