| Constructor and Description |
|---|
SequenceLog64Map(CountInputStream in,
File f) |
SequenceLog64Map(File f) |
SequenceLog64Map(int numbits,
long numentries,
File f) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Iterator<Long> elements)
Adds an element to the array
|
void |
close() |
long |
get(long index)
Gets the element in a specific position
|
long |
getNumberOfElements()
Gets the total number of elements in the array
|
int |
getNumBits() |
String |
getType()
Type identifier of this Stream.
|
void |
load(InputStream input,
ProgressListener listener)
Loads a array from an InputStream
|
void |
save(OutputStream output,
ProgressListener listener)
Saves the array to an OutputStream
|
long |
size()
Return the size of the data structure in bytes
|
public SequenceLog64Map(File f) throws IOException
IOExceptionpublic SequenceLog64Map(CountInputStream in, File f) throws IOException
IOExceptionpublic SequenceLog64Map(int numbits,
long numentries,
File f)
throws IOException
IOExceptionpublic long get(long index)
Sequencepublic long getNumberOfElements()
SequencegetNumberOfElements in interface Sequencepublic void save(OutputStream output, ProgressListener listener) throws IOException
Sequencesave in interface Sequenceoutput - The OutputStream to be saved toIOExceptionpublic long size()
Sequencepublic int getNumBits()
public String getType()
Sequencepublic void add(Iterator<Long> elements)
Sequencepublic void load(InputStream input, ProgressListener listener) throws IOException
Sequenceload in interface Sequenceinput - The InputStream to load fromIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2018 DataWeb Research. All rights reserved.