Class ILongList.ILongListableFromMult
- java.lang.Object
-
- org.magicwerk.brownies.collections.primitive.ILongList.ILongListableFromMult
-
- All Implemented Interfaces:
ILongListable
- Enclosing class:
- ILongList
protected static class ILongList.ILongListableFromMult extends java.lang.Object implements ILongListable
Wrapper to treat a repeated element asILongListable.
-
-
Constructor Summary
Constructors Constructor Description ILongListableFromMult(int len, long elem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longget(int index)intsize()
-
-
-
Method Detail
-
size
public int size()
- Specified by:
sizein interfaceILongListable
-
get
public long get(int index)
- Specified by:
getin interfaceILongListable
-
-