Class IShortList.IShortListableFromArray
java.lang.Object
org.magicwerk.brownies.collections.primitive.IShortList.IShortListableFromArray
- All Implemented Interfaces:
IShortListable
- Enclosing class:
IShortList
Wrapper to treat an array as
IShortListable
.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIShortListableFromArray
(short[] array) IShortListableFromArray
(short[] array, int offset, int length) -
Method Summary
-
Field Details
-
array
short[] array -
offset
int offset -
length
int length
-
-
Constructor Details
-
IShortListableFromArray
IShortListableFromArray(short[] array) -
IShortListableFromArray
IShortListableFromArray(short[] array, int offset, int length)
-
-
Method Details
-
size
public int size()- Specified by:
size
in interfaceIShortListable
-
get
public short get(int index) - Specified by:
get
in interfaceIShortListable
-