org.eclipse.mat.parser.index
Class IndexWriter.SizeIndexCollectorUncompressed
java.lang.Object
org.eclipse.mat.parser.index.IndexWriter.IntIndexCollectorUncompressed
org.eclipse.mat.parser.index.IndexWriter.SizeIndexCollectorUncompressed
- Enclosing class:
- IndexWriter
public static class IndexWriter.SizeIndexCollectorUncompressed
- extends IndexWriter.IntIndexCollectorUncompressed
Store sizes of objects by
compressing the size to a 32-bit int.
- Since:
- 1.0
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexWriter.SizeIndexCollectorUncompressed
public IndexWriter.SizeIndexCollectorUncompressed(int size)
compress
public static int compress(long y)
expand
public static long expand(int x)
set
public void set(int index,
long value)
getSize
public long getSize(int index)
writeTo
public IIndexReader.IOne2SizeIndex writeTo(java.io.File indexFile)
throws java.io.IOException
- Overrides:
writeTo
in class IndexWriter.IntIndexCollectorUncompressed
- Throws:
java.io.IOException