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 java.lang.Object
- implements IIndexReader.IOne2OneIndex
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexWriter.IntIndexCollector
public IndexWriter.IntIndexCollector(int size,
int mostSignificantBit)
writeTo
public IIndexReader.IOne2OneIndex writeTo(java.io.File indexFile)
throws java.io.IOException
- Throws:
java.io.IOException
writeTo
public IIndexReader.IOne2OneIndex writeTo(java.io.DataOutputStream out,
long position)
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Description copied from interface:
IIndexReader
- Close the backing file.
- Specified by:
close
in interface IIndexReader
- Throws:
java.io.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()