public class ArrayBasedIndexedInts extends Object implements IndexedInts
Constructor and Description |
---|
ArrayBasedIndexedInts(int[] expansion) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
fill(int index,
int[] toFill) |
int |
get(int index) |
Iterator<Integer> |
iterator() |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public int size()
size
in interface IndexedInts
public int get(int index)
get
in interface IndexedInts
public void fill(int index, int[] toFill)
fill
in interface IndexedInts
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2011–2016. All rights reserved.