Package org.eclipse.mat.parser.index
Class IndexWriter
- java.lang.Object
-
- org.eclipse.mat.parser.index.IndexWriter
-
public abstract class IndexWriter extends java.lang.ObjectBase implementations to write index files.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndexWriter.IdentifierUsed to collect the objects by address.static classIndexWriter.InboundWriterA writer for inbound references.static classIndexWriter.IntArray1NSortedWriterUsed to write out a sorted array of ints.static classIndexWriter.IntArray1NUncompressedCollectorBuild index for mapping int to int array.static classIndexWriter.IntArray1NWriterWrite out a mapping of ints to int arrays.static classIndexWriter.IntIndexCollectorA collector of ArrayIntCompressed.static classIndexWriter.IntIndexCollectorUncompressedCollect a mapping of int to int.static classIndexWriter.IntIndexStreamerA helper to write out an index to a file.static interfaceIndexWriter.KeyWriterUsed to write out a key for an index.static classIndexWriter.LongArray1NWriterstatic classIndexWriter.LongIndexCollectorA collector for a int to long mapping.static classIndexWriter.LongIndexCollectorUncompressedBuild a int to long index.static classIndexWriter.LongIndexStreamerA helper class to output a list of longs.static classIndexWriter.SizeIndexCollectorUncompressedStore sizes of objects by compressing the size to a 32-bit int.
-
Field Summary
Fields Modifier and Type Field Description static intPAGE_SIZE_INTNumber of entries in a page of intsstatic intPAGE_SIZE_LONGNumber of entries in a page of longs
-
Constructor Summary
Constructors Constructor Description IndexWriter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long[]copyOf(long[] original, int newLength)static intmostSignificantBit(int x)static intmostSignificantBit(long x)
-
-
-
Field Detail
-
PAGE_SIZE_INT
public static final int PAGE_SIZE_INT
Number of entries in a page of ints- See Also:
- Constant Field Values
-
PAGE_SIZE_LONG
public static final int PAGE_SIZE_LONG
Number of entries in a page of longs- See Also:
- Constant Field Values
-
-