| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private static final byte[] | |
| protected transient byte[] | |
| private static final int | |
| private static final long | |
| protected int | |
| private static final byte[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | add(byte newItem)
Implements org.
|
| public boolean | addAll(byte... source)
Implements org.
|
| public boolean | |
| public boolean | addAllAtIndex(int index, byte... source)
Implements org.
|
| public boolean | addAllAtIndex(int index, ByteIterable source)
Implements org.
|
| public void | addAtIndex(int index, byte element)
Implements org.
|
| private void | |
| public boolean | allSatisfy(BytePredicate predicate)
Implements org. Returns true if all of the elements in the ByteIterable return true for the specified predicate, otherwise returns false. |
| public boolean | anySatisfy(BytePredicate predicate)
Implements org. Returns true if any of the elements in the ByteIterable 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 LazyByteIterable | |
| public MutableByteList | |
| public MutableByteList | |
| public int | binarySearch(byte value)
Implements org.
|
| public MutableList | |
| public MutableByteIterator | byteIterator()
Implements org. Returns a primitive iterator that can be used to iterate over the ByteIterable in an imperative style. |
| private void | |
| public RichIterable | chunk(int size)
Overrides default org. Partitions elements in fixed size chunks. |
| public void | |
| public <V> MutableList | collect(ByteToObjectFunction<? 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(ByteToObjectFunction<? extends V> function, R target)
Overrides default org. Same as |
| public boolean | contains(byte value)
Implements org. Returns true if the value is contained in the ByteIterable, and false if it is not. |
| private void | |
| private byte[] | |
| public int | count(BytePredicate predicate)
Implements org. Returns a count of the number of elements in the ByteIterable that return true for the specified predicate. |
| public byte | detectIfNone(BytePredicate predicate, byte ifNone)
Implements org.
|
| public MutableByteList | |
| public long | |
| public void | each(ByteProcedure 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 byte | |
| public byte | |
| public byte | |
| public int | hashCode()
Overrides java. Implements org. Follows the same general contract as |
| public int | indexOf(byte value)
Implements org.
|
| public <T> T | injectInto(T injectedValue, ObjectByteToObjectFunction<? super T, ? extends T> function)
Implements org.
|
| public <T> T | injectIntoWithIndex(T injectedValue, ObjectByteIntToObjectFunction<? super T, ? extends T> function)
Implements org.
|
| public int | |
| public byte | |
| public byte | |
| public ByteArrayList | newEmpty()
Overrides default org. Creates a new empty ByteArrayList. |
| private IndexOutOfBoundsException | |
| public static ByteArrayList | |
| public static ByteArrayList | newListWith(byte... elements)
Creates a new list using the passed |
| public static ByteArrayList | |
| 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 ByteArrayList | reject(BytePredicate predicate)
Implements org. Returns a new ByteIterable with all of the elements in the ByteIterable that return false for the specified predicate. |
| public <R extends MutableByteCollection> R | reject(BytePredicate predicate, R target)
Overrides default org. Same as |
| public boolean | remove(byte value)
Implements org.
|
| public boolean | |
| public boolean | removeAll(byte... source)
Implements org.
|
| public byte | removeAtIndex(int index)
Implements org.
|
| public boolean | removeIf(BytePredicate predicate)
Overrides default org.
|
| public boolean | |
| public boolean | retainAll(byte... source)
Implements org.
|
| public ByteArrayList | |
| public ByteArrayList | select(BytePredicate predicate)
Implements org. Returns a new ByteIterable with all of the elements in the ByteIterable that return true for the specified predicate. |
| public <R extends MutableByteCollection> R | select(BytePredicate predicate, R target)
Overrides default org. Same as |
| public byte | set(int index, byte element)
Implements org.
|
| private void | |
| public int | size()
Implements org. Returns the number of items in this iterable. |
| private int | |
| public ByteArrayList | sortThis()
Implements org. Sorts this list mutating its contents and returns the same mutable list (this). |
| public ByteArrayList | sortThis(ByteComparator comparator)
Overrides default org. Sorts the internal data structure of this list and returns the list itself as a convenience. |
| public MutableByteList | subList(int fromIndex, int toIndex)
Implements org.
|
| public long | |
| public void | swap(int index1, int index2)
Overrides default org.
|
| private void | |
| public byte[] | toArray()
Implements org. Converts the ByteIterable to a primitive byte array. |
| public byte[] | toArray(byte[] target)
Overrides default org. Converts the ByteIterable to a primitive byte array. |
| public ImmutableByteList | toImmutable()
Implements org. Returns an immutable copy of this list. |
| public ByteArrayList | |
| public MutableByteStack | toStack()
Overrides default org. Converts the collection to a ByteStack. |
| private void | |
| public void | |
| private void | |
| public ByteArrayList | |
| public ByteArrayList | |
| public ByteArrayList | |
| public ByteArrayList | |
| public ByteArrayList | withAll(ByteIterable elements)
Implements org.
|
| private ByteArrayList | |
| public ByteArrayList | |
| public ByteArrayList | withoutAll(ByteIterable elements)
Implements org.
|
| public static ByteArrayList | |
| 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 | zipByte(ByteIterable iterable)
Overrides default org. Returns a |