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 shortget(int index)intsize()
-
-
-
Method Detail
-
size
public int size()
- Specified by:
sizein interfaceIShortListable
-
get
public short get(int index)
- Specified by:
getin interfaceIShortListable
-
-