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) |
Iterator<IndexedInts> |
iterator() |
static VSizeIndexed |
readFromByteBuffer(ByteBuffer buffer) |
int |
size() |
void |
writeToChannel(WritableByteChannel channel) |
public 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)
indexOf
in interface Indexed<IndexedInts>
public int getSerializedSize()
public void writeToChannel(WritableByteChannel channel) throws IOException
IOException
public static VSizeIndexed readFromByteBuffer(ByteBuffer buffer)
public Iterator<IndexedInts> iterator()
iterator
in interface Iterable<IndexedInts>
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public WritableSupplier<IndexedMultivalue<IndexedInts>> asWritableSupplier()
Copyright © 2011–2015. All rights reserved.