ByteArrayStack.
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 ByteArrayList | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| delegate | back to summary |
|---|---|
| private final ByteArrayList delegate | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ImmutableByteArrayStack | back to summary |
|---|---|
| private ImmutableByteArrayStack(byte[] newElements) | |
| ImmutableByteArrayStack | back to summary |
|---|---|
| private ImmutableByteArrayStack(ByteArrayList 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 ByteArrayList 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 ImmutableByteArrayStack newStack(ByteIterable iterable) | |
| newStackFromTopToBottom | back to summary |
|---|---|
| public static ImmutableByteArrayStack newStackFromTopToBottom(byte... items) | |
| newStackFromTopToBottom | back to summary |
|---|---|
| public static ImmutableByteArrayStack newStackFromTopToBottom(ByteIterable items) | |
| newStackWith | back to summary |
|---|---|
| public static ImmutableByteArrayStack newStackWith(byte... 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 ImmutableByteStack pop() Implements org.
| |
| pop | back to summary |
|---|---|
| public ImmutableByteStack pop(int count) Implements org.
| |
| push | back to summary |
|---|---|
| public ImmutableByteStack push(byte item) Implements org.
| |
| reject | back to summary |
|---|---|
| public ImmutableByteStack reject(BytePredicate predicate) Implements org. Doc from org. Returns a new ByteIterable with all of the elements in the ByteIterable that return false for the specified predicate.
| |
| select | back to summary |
|---|---|
| public ImmutableByteStack select(BytePredicate predicate) Implements org. Doc from org. Returns a new ByteIterable with all of the elements in the ByteIterable that return true for the specified predicate.
| |
| toImmutable | back to summary |
|---|---|
| public ImmutableByteStack toImmutable() Implements org.
| |
| toSortedList | back to summary |
|---|---|
| public MutableByteList toSortedList() Implements org.
| |
| toStack | back to summary |
|---|---|
| public MutableByteStack toStack() Overrides default org. Doc from org. Converts the collection to a ByteStack.
| |
| writeReplace | back to summary |
|---|---|
| private Object writeReplace() | |
| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private ByteStack |
| 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 ByteStack stack | |
| ImmutableByteStackSerializationProxy | back to summary |
|---|---|
| public ImmutableByteStackSerializationProxy() | |
| ImmutableByteStackSerializationProxy | back to summary |
|---|---|
| protected ImmutableByteStackSerializationProxy(ByteStack 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.
| |