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 long
get(int index)
int
size()
-
-
-
Method Detail
-
size
public int size()
- Specified by:
size
in interfaceILongListable
-
get
public long get(int index)
- Specified by:
get
in interfaceILongListable
-
-