Class IShortList.IShortListableFromList
- java.lang.Object
-
- org.magicwerk.brownies.collections.primitive.IShortList.IShortListableFromList
-
- All Implemented Interfaces:
IShortListable
- Enclosing class:
- IShortList
protected static class IShortList.IShortListableFromList extends java.lang.Object implements IShortListable
Wrapper to treat aList
asIShortListable
.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<java.lang.Short>
list
-
Constructor Summary
Constructors Constructor Description IShortListableFromList(java.util.List<java.lang.Short> list)
-
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
-
-