| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public LazyByteIterable | asLazy()
Implements org. Returns a LazyByteIterable adapter wrapping the source ByteIterable. |
| public double | |
| public byte | |
| public double | |
| public byte | |
| public MutableByteBag | toBag()
Implements org. Converts the ByteIterable to a new MutableByteBag. |
| public MutableByteList | toList()
Implements org. Converts the ByteIterable to a new MutableByteList. |
| public MutableByteSet | toSet()
Implements org. Converts the ByteIterable to a new MutableByteSet. |
| public byte[] | |
| public MutableByteList | |
| public String | toString()
Overrides java. Implements org. Returns a string with the elements of this iterable separated by commas with spaces and enclosed in square brackets. |
| AbstractByteIterable | back to summary |
|---|---|
| public AbstractByteIterable() | |
| asLazy | back to summary |
|---|---|
| public LazyByteIterable asLazy() Implements org. Doc from org. Returns a LazyByteIterable adapter wrapping the source ByteIterable.
| |
| average | back to summary |
|---|---|
| public double average() Implements org.
| |
| maxIfEmpty | back to summary |
|---|---|
| public byte maxIfEmpty(byte defaultValue) Implements org.
| |
| median | back to summary |
|---|---|
| public double median() Implements org.
| |
| minIfEmpty | back to summary |
|---|---|
| public byte minIfEmpty(byte defaultValue) Implements org.
| |
| toBag | back to summary |
|---|---|
| public MutableByteBag toBag() Implements org. Doc from org. Converts the ByteIterable to a new MutableByteBag.
| |
| toList | back to summary |
|---|---|
| public MutableByteList toList() Implements org. Doc from org. Converts the ByteIterable to a new MutableByteList.
| |
| toSet | back to summary |
|---|---|
| public MutableByteSet toSet() Implements org. Doc from org. Converts the ByteIterable to a new MutableByteSet.
| |
| toSortedArray | back to summary |
|---|---|
| public byte[] toSortedArray() Implements org.
| |
| toSortedList | back to summary |
|---|---|
| public MutableByteList toSortedList() Implements org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Implements org. Doc from org. Returns a string with the elements of this iterable separated by commas with spaces and enclosed in square brackets.
Assert.assertEquals("[]", IntLists.mutable.empty().toString());
Assert.assertEquals("[1]", IntLists.mutable.with(1).toString());
Assert.assertEquals("[1, 2, 3]", IntLists.mutable.with(1, 2, 3).toString());
| |