Class IBooleanList.IBooleanListableFromCollection
- java.lang.Object
-
- org.magicwerk.brownies.collections.primitive.IBooleanList.IBooleanListableFromCollection
-
- All Implemented Interfaces:
IBooleanListable
- Enclosing class:
- IBooleanList
protected static class IBooleanList.IBooleanListableFromCollection extends java.lang.Object implements IBooleanListable
Wrapper to treat aCollection
asIBooleanListable
.Note that the implementation relies on the fact that the elements are only accessed sequentially.
-
-
Constructor Summary
Constructors Constructor Description IBooleanListableFromCollection(java.util.Collection<java.lang.Boolean> coll)
-
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
-
-