Class IShortList.IShortListableFromArray
- java.lang.Object
-
- org.magicwerk.brownies.collections.primitive.IShortList.IShortListableFromArray
-
- All Implemented Interfaces:
IShortListable
- Enclosing class:
- IShortList
protected static class IShortList.IShortListableFromArray extends java.lang.Object implements IShortListable
Wrapper to treat an array asIShortListable
.
-
-
Constructor Summary
Constructors Constructor Description IShortListableFromArray(short[] array)
IShortListableFromArray(short[] array, int offset, int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description short
get(int index)
int
size()
-
-
-
Method Detail
-
size
public int size()
- Specified by:
size
in interfaceIShortListable
-
get
public short get(int index)
- Specified by:
get
in interfaceIShortListable
-
-