Class IBooleanList.IBooleanListableFromArray
- java.lang.Object
-
- org.magicwerk.brownies.collections.primitive.IBooleanList.IBooleanListableFromArray
-
- All Implemented Interfaces:
IBooleanListable
- Enclosing class:
- IBooleanList
protected static class IBooleanList.IBooleanListableFromArray extends java.lang.Object implements IBooleanListable
Wrapper to treat an array asIBooleanListable
.
-
-
Constructor Summary
Constructors Constructor Description IBooleanListableFromArray(boolean[] array)
IBooleanListableFromArray(boolean[] array, int offset, int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
get(int index)
int
size()
-
-
-
Method Detail
-
size
public int size()
- Specified by:
size
in interfaceIBooleanListable
-
get
public boolean get(int index)
- Specified by:
get
in interfaceIBooleanListable
-
-