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

java.lang.Object
  extended by org.eclipse.mat.parser.index.IndexWriter.IntArray1NWriter
Direct Known Subclasses:
IndexWriter.IntArray1NSortedWriter
Enclosing class:
IndexWriter

public static class IndexWriter.IntArray1NWriter
extends java.lang.Object


Constructor Summary
IndexWriter.IntArray1NWriter(int size, java.io.File indexFile)
           
 
Method Summary
 void cancel()
           
 IIndexReader.IOne2ManyIndex flush()
           
 java.io.File getIndexFile()
           
 void log(IndexWriter.Identifier identifer, int index, ArrayLong references)
           
 void log(int index, ArrayInt references)
          must not contain duplicates!
 void log(int index, int[] values)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexWriter.IntArray1NWriter

public IndexWriter.IntArray1NWriter(int size,
                                    java.io.File indexFile)
                             throws java.io.IOException
Throws:
java.io.IOException
Method Detail

log

public void log(IndexWriter.Identifier identifer,
                int index,
                ArrayLong references)
         throws java.io.IOException
Throws:
java.io.IOException

log

public void log(int index,
                ArrayInt references)
         throws java.io.IOException
must not contain duplicates!

Throws:
java.io.IOException

log

public void log(int index,
                int[] values)
         throws java.io.IOException
Throws:
java.io.IOException

flush

public IIndexReader.IOne2ManyIndex flush()
                                  throws java.io.IOException
Throws:
java.io.IOException

cancel

public void cancel()

getIndexFile

public java.io.File getIndexFile()