Package it.unimi.dsi.mg4j.util

General-purpose utility classes.

See:
          Description

Class Summary
MG4JClassParser A small wrapper around JSAP's standard ClassStringParser.
MimeTypeResolver A thin wrapper around a singleton instance of MimetypesFileTypeMap that tries to load /etc/mime.types into the map.
ProgressMeter Deprecated. Use a ProgressLogger instead.
SemiExternalOffsetList Provides semi-external random access to offsets of an index.
 

Package it.unimi.dsi.mg4j.util Description

General-purpose utility classes.

Package Specification

The classes in this package are completely general utility classes that may be useful outside of MG4J. In particular, mg4j.util.MutableString is a highly-tuned, versatile class for content-based mutable strings.

Another general-purpose important component is mg4j.util.MinimalPerfectHash, which implements state-of-the-art, hypergraph-based algorithms for the construction of ordered minimal perfect hash tables.

If minimal perfect hash tables are too large, a good alternative is an mg4j.util.ImmutableExternalPrefixDictionary, which keeps most data in compressed form on disk, and uses a small in-memory index to access those data.