public class VSizeIndexed extends Object implements IndexedMultivalue<IndexedInts>
| Modifier and Type | Class and Description |
|---|---|
static class |
VSizeIndexed.VSizeIndexedSupplier |
| Modifier and Type | Method and Description |
|---|---|
WritableSupplier<IndexedMultivalue<IndexedInts>> |
asWritableSupplier() |
void |
close() |
static VSizeIndexed |
fromIterable(Iterable<VSizeIndexedInts> objectsIterable) |
VSizeIndexedInts |
get(int index) |
Class<? extends VSizeIndexedInts> |
getClazz() |
int |
getSerializedSize() |
int |
indexOf(IndexedInts value)
Returns the index of "value" in this Indexed object, or a negative number if the value is not present.
|
Iterator<IndexedInts> |
iterator() |
static VSizeIndexed |
readFromByteBuffer(ByteBuffer buffer) |
int |
size() |
void |
writeToChannel(WritableByteChannel channel) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static VSizeIndexed fromIterable(Iterable<VSizeIndexedInts> objectsIterable)
public Class<? extends VSizeIndexedInts> getClazz()
getClazz in interface Indexed<IndexedInts>public int size()
size in interface Indexed<IndexedInts>public VSizeIndexedInts get(int index)
get in interface Indexed<IndexedInts>public int indexOf(IndexedInts value)
IndexedindexOf in interface Indexed<IndexedInts>value - value to search forpublic int getSerializedSize()
public void writeToChannel(WritableByteChannel channel) throws IOException
IOExceptionpublic static VSizeIndexed readFromByteBuffer(ByteBuffer buffer)
public Iterator<IndexedInts> iterator()
iterator in interface Iterable<IndexedInts>public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic WritableSupplier<IndexedMultivalue<IndexedInts>> asWritableSupplier()
Copyright © 2011–2017. All rights reserved.