| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public LazyBooleanIterable | asLazy()
Implements org. Returns a LazyBooleanIterable adapter wrapping the source BooleanIterable. |
| public MutableBooleanBag | toBag()
Implements org. Converts the BooleanIterable to a new MutableBooleanBag. |
| public MutableBooleanList | toList()
Implements org. Converts the BooleanIterable to a new MutableBooleanList. |
| public MutableBooleanSet | toSet()
Implements org. Converts the BooleanIterable to a new MutableBooleanSet. |
| 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. |
| AbstractBooleanIterable | back to summary |
|---|---|
| public AbstractBooleanIterable() | |
| asLazy | back to summary |
|---|---|
| public LazyBooleanIterable asLazy() Implements org. Doc from org. Returns a LazyBooleanIterable adapter wrapping the source BooleanIterable.
| |
| toBag | back to summary |
|---|---|
| public MutableBooleanBag toBag() Implements org. Doc from org. Converts the BooleanIterable to a new MutableBooleanBag.
| |
| toList | back to summary |
|---|---|
| public MutableBooleanList toList() Implements org. Doc from org. Converts the BooleanIterable to a new MutableBooleanList.
| |
| toSet | back to summary |
|---|---|
| public MutableBooleanSet toSet() Implements org. Doc from org. Converts the BooleanIterable to a new MutableBooleanSet.
| |
| 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());
| |