Class IByteList.IByteListableFromCollection
- java.lang.Object
-
- org.magicwerk.brownies.collections.primitive.IByteList.IByteListableFromCollection
-
- All Implemented Interfaces:
IByteListable
- Enclosing class:
- IByteList
protected static class IByteList.IByteListableFromCollection extends java.lang.Object implements IByteListable
Wrapper to treat aCollection
asIByteListable
.Note that the implementation relies on the fact that the elements are only accessed sequentially.
-
-
Constructor Summary
Constructors Constructor Description IByteListableFromCollection(java.util.Collection<java.lang.Byte> coll)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
get(int index)
int
size()
-
-
-
Method Detail
-
size
public int size()
- Specified by:
size
in interfaceIByteListable
-
get
public byte get(int index)
- Specified by:
get
in interfaceIByteListable
-
-