org.eclipse.mat.parser.index
Class IndexWriter.IntIndexCollector
java.lang.Object
org.eclipse.mat.parser.index.IndexWriter.IntIndexCollector
- All Implemented Interfaces:
- IIndexReader, IIndexReader.IOne2OneIndex
- Enclosing class:
- IndexWriter
public static class IndexWriter.IntIndexCollector
- extends Object
- implements IIndexReader.IOne2OneIndex
IndexWriter.IntIndexCollector
public IndexWriter.IntIndexCollector(int size,
int mostSignificantBit)
writeTo
public IIndexReader.IOne2OneIndex writeTo(File indexFile)
throws IOException
- Throws:
IOException
writeTo
public IIndexReader.IOne2OneIndex writeTo(DataOutputStream out,
long position)
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Description copied from interface:
IIndexReader
- Close the backing file.
- Specified by:
close
in interface IIndexReader
- Throws:
IOException
delete
public void delete()
- Description copied from interface:
IIndexReader
- Delete the backing file.
- Specified by:
delete
in interface IIndexReader
get
public int get(int index)
getNext
public int[] getNext(int index,
int length)
getAll
public int[] getAll(int[] index)
set
public void set(int index,
int value)
unload
public void unload()
size
public int size()
iterator
public IteratorInt iterator()