Class IByteList.IByteListableFromArray
java.lang.Object
org.magicwerk.brownies.collections.primitive.IByteList.IByteListableFromArray
- All Implemented Interfaces:
IByteListable
- Enclosing class:
IByteList
Wrapper to treat an array as
IByteListable
.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIByteListableFromArray
(byte[] array) IByteListableFromArray
(byte[] array, int offset, int length) -
Method Summary
-
Field Details
-
array
byte[] array -
offset
int offset -
length
int length
-
-
Constructor Details
-
IByteListableFromArray
IByteListableFromArray(byte[] array) -
IByteListableFromArray
IByteListableFromArray(byte[] array, int offset, int length)
-
-
Method Details
-
size
public int size()- Specified by:
size
in interfaceIByteListable
-
get
public byte get(int index) - Specified by:
get
in interfaceIByteListable
-