Class ILongList.ILongListableFromArray
- java.lang.Object
-
- org.magicwerk.brownies.collections.primitive.ILongList.ILongListableFromArray
-
- All Implemented Interfaces:
ILongListable
- Enclosing class:
- ILongList
protected static class ILongList.ILongListableFromArray extends java.lang.Object implements ILongListable
Wrapper to treat an array asILongListable
.
-
-
Constructor Summary
Constructors Constructor Description ILongListableFromArray(long[] array)
ILongListableFromArray(long[] array, int offset, int length)
-
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
-
-