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 booleanget(int index)intsize()
-
-
-
Method Detail
-
size
public int size()
- Specified by:
sizein interfaceIBooleanListable
-
get
public boolean get(int index)
- Specified by:
getin interfaceIBooleanListable
-
-