public final class ArrayBasedIndexedInts extends Object implements IndexedInts
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
fill(int index,
int[] toFill) |
int |
get(int index) |
it.unimi.dsi.fastutil.ints.IntIterator |
iterator() |
static ArrayBasedIndexedInts |
of(int[] expansion) |
static ArrayBasedIndexedInts |
of(int[] expansion,
int size) |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public static ArrayBasedIndexedInts of(int[] expansion)
public static ArrayBasedIndexedInts of(int[] expansion, int size)
public int size()
size
in interface IndexedInts
public int get(int index)
get
in interface IndexedInts
public it.unimi.dsi.fastutil.ints.IntIterator iterator()
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–2017. All rights reserved.