org.eclipse.mat.parser.index
Class IndexReader.IntIndexReader
java.lang.Object
org.eclipse.mat.parser.index.IndexReader.IntIndexReader
- All Implemented Interfaces:
- IIndexReader, IIndexReader.IOne2OneIndex
- Enclosing class:
- IndexReader
public static class IndexReader.IntIndexReader
- extends java.lang.Object
- implements IIndexReader.IOne2OneIndex
Creates a int to int index reader
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOCK
public java.lang.Object LOCK
in
public SimpleBufferedRandomAccessInputStream in
IndexReader.IntIndexReader
public IndexReader.IntIndexReader(java.io.File indexFile,
org.eclipse.mat.parser.index.IndexWriter.Pages<java.lang.ref.SoftReference<ArrayIntCompressed>> pages,
int size,
int pageSize,
long[] pageStart)
IndexReader.IntIndexReader
public IndexReader.IntIndexReader(java.io.File indexFile)
throws java.io.IOException
- Throws:
java.io.IOException
IndexReader.IntIndexReader
public IndexReader.IntIndexReader(SimpleBufferedRandomAccessInputStream in,
long start,
long length)
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
- Description copied from interface:
IIndexReader
- Close the backing file.
- Specified by:
close
in interface IIndexReader
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()