public class EmptyIndexedInts extends Object implements IndexedInts
| Modifier and Type | Field and Description |
|---|---|
static EmptyIndexedInts |
instance |
| Constructor and Description |
|---|
EmptyIndexedInts() |
| 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, waitforEach, spliteratorpublic static EmptyIndexedInts instance
public int size()
size in interface IndexedIntspublic int get(int index)
get in interface IndexedIntspublic void fill(int index,
int[] toFill)
fill in interface IndexedIntspublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2011–2016. All rights reserved.