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