# Package org.eclipse.mat.parser.index

Implementations for handling indexes. Only needed by parser implementations.

Interface Summary
IIndexReader: Interfaces for reading various indexes into the snapshot.
IIndexReader.IOne2LongIndex: Index from object id to a long.
IIndexReader.IOne2ManyIndex: Index from object id to several object ids.
IIndexReader.IOne2ManyObjectsIndex: Index from object id to several object ids.
IIndexReader.IOne2OneIndex: Index from object id to another int.
IIndexReader.IOne2SizeIndex: Index from object id to size, stored compressed as an int.
IndexWriter.KeyWriter: Used to write out a key for an index.

Class Summary
IndexManager: Handles the indexes into the snapshot.
IndexReader: Implementations to read index files.
IndexReader.IntIndex1NSortedReader
IndexReader.IntIndexReader: An int to int index reader.
IndexReader.LongIndex1NReader
IndexReader.LongIndexReader: Creates a int to long index reader Disk file structure:
IndexReader.SizeIndexReader: Creates a index reader for array sizes, presuming the sizes are stored as ints and get expanded in the reverse of the compression.
IndexWriter: Base implementations to write index files.
IndexWriter.Identifier: Used to collect the objects by address.
IndexWriter.InboundWriter: A writer for inbound references.
IndexWriter.IntArray1NSortedWriter: Used to write out a sorted array of ints.
IndexWriter.IntArray1NUncompressedCollector: Build index for mapping int to int array.
IndexWriter.IntArray1NWriter: Write out a mapping of ints to int arrays.
IndexWriter.IntIndexCollector: A collector of ArrayIntCompressed.
IndexWriter.IntIndexCollectorUncompressed: Collect a mapping of int to int.
IndexWriter.IntIndexStreamer: A helper to write out an index to a file.
IndexWriter.LongArray1NWriter
IndexWriter.LongIndexCollector: A collector for a int to long mapping.
IndexWriter.LongIndexCollectorUncompressed: Build a int to long index.
IndexWriter.LongIndexStreamer: A helper class to output a list of longs.
IndexWriter.SizeIndexCollectorUncompressed: Store sizes of objects by compressing the size to a 32-bit int.

Enum Summary
IndexManager.Index: The different index types.