org.eclipse.mat.parser.index
Class IndexWriter.IntIndexCollector

java.lang.Object
  extended by 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


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.mat.parser.index.IIndexReader
IIndexReader.IOne2LongIndex, IIndexReader.IOne2ManyIndex, IIndexReader.IOne2ManyObjectsIndex, IIndexReader.IOne2OneIndex, IIndexReader.IOne2SizeIndex
 
Constructor Summary
IndexWriter.IntIndexCollector(int size, int mostSignificantBit)
           
 
Method Summary
 void close()
          Close the backing file.
 void delete()
          Delete the backing file.
 int get(int index)
           
 int[] getAll(int[] index)
           
 int[] getNext(int index, int length)
           
 IteratorInt iterator()
           
 void set(int index, int value)
           
 int size()
           
 void unload()
           
 IIndexReader.IOne2OneIndex writeTo(java.io.DataOutputStream out, long position)
           
 IIndexReader.IOne2OneIndex writeTo(java.io.File indexFile)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.mat.parser.index.IIndexReader.IOne2OneIndex
get, getAll, getNext
 
Methods inherited from interface org.eclipse.mat.parser.index.IIndexReader
size, unload
 

Constructor Detail

IndexWriter.IntIndexCollector

public IndexWriter.IntIndexCollector(int size,
                                     int mostSignificantBit)
Method Detail

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()