Package org.eclipse.mat.parser.index
Class IndexWriter
java.lang.Object
org.eclipse.mat.parser.index.IndexWriter
Base implementations to write index files.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Used to collect the objects by address.static class
A writer for inbound references.static class
Used to write out a sorted array of ints.static class
Build index for mapping int to int array.static class
Write out a mapping of ints to int arrays.static class
A collector of ArrayIntCompressed.static class
Collect a mapping of int to int.static class
A helper to write out an index to a file.static interface
Used to write out a key for an index.static class
static class
A collector for a int to long mapping.static class
Build a int to long index.static class
A helper class to output a list of longs.static class
Store sizes of objects by compressing the size to a 32-bit int. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Number of entries in a page of intsstatic final int
Number of entries in a page of longs -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic long[]
copyOf
(long[] original, int newLength) static int
mostSignificantBit
(int x) static int
mostSignificantBit
(long x)
-
Field Details
-
PAGE_SIZE_INT
public static final int PAGE_SIZE_INTNumber of entries in a page of ints- See Also:
-
PAGE_SIZE_LONG
public static final int PAGE_SIZE_LONGNumber of entries in a page of longs- See Also:
-
-
Constructor Details
-
IndexWriter
public IndexWriter()
-
-
Method Details
-
copyOf
public static long[] copyOf(long[] original, int newLength) -
mostSignificantBit
public static int mostSignificantBit(int x) -
mostSignificantBit
public static int mostSignificantBit(long x)
-