Class IShortList.IShortListableFromMult
- java.lang.Object
-
- org.magicwerk.brownies.collections.primitive.IShortList.IShortListableFromMult
-
- All Implemented Interfaces:
IShortListable
- Enclosing class:
- IShortList
protected static class IShortList.IShortListableFromMult extends java.lang.Object implements IShortListable
Wrapper to treat a repeated element asIShortListable
.
-
-
Constructor Summary
Constructors Constructor Description IShortListableFromMult(int len, short elem)
-
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
-
-