Deprecated API


Contents
Deprecated Interfaces
it.unimi.dsi.mg4j.util.parser.callback.Callback
          Moved to dsiutils. 
it.unimi.dsi.mg4j.compression.Codec
          Moved to dsiutils. 
it.unimi.dsi.mg4j.compression.Coder
          Moved to dsiutils. 
it.unimi.dsi.mg4j.compression.Decoder
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.FlyweightPrototype
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.parser.ParsingFactory
          Moved to dsiutils. 
it.unimi.dsi.mg4j.compression.PrefixCodec
          Moved to dsiutils. 
it.unimi.dsi.mg4j.compression.PrefixCoder
          Moved to dsiutils. 
it.unimi.dsi.mg4j.index.PrefixMap
          As of MG4J 2.1, replaced by PrefixMap. 
it.unimi.dsi.mg4j.io.SafelyCloseable
          Moved to dsiutils. 
it.unimi.dsi.mg4j.index.TermMap
          As of MG4J 2.1, replaced by StringMap. 
it.unimi.dsi.mg4j.io.WordReader
          Moved to dsiutils. 
 

Deprecated Classes
it.unimi.dsi.mg4j.index.AbstractPrefixMap
          Use PrefixMap and related classes. 
it.unimi.dsi.mg4j.index.AbstractTermMap
          Use StringMap and related classes. 
it.unimi.dsi.mg4j.util.parser.Attribute
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.BitVectorBooleanIterator
          Useless, since we now have the BitVector implementations in the DSI utilities. 
it.unimi.dsi.mg4j.util.BloomFilter
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.parser.BulletParser
          Moved to dsiutils. 
it.unimi.dsi.mg4j.io.ByteBufferInputStream
          Moved to dsiutils. 
it.unimi.dsi.mg4j.compression.CanonicalFast64CodeWordDecoder
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.CircularCharArrayBuffer
          Moved to dsiutils. 
it.unimi.dsi.mg4j.compression.CodedCharSequenceBooleanIterator
          Moved to dsiutils. 
it.unimi.dsi.mg4j.compression.CodeWordCoder
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.parser.callback.ComposedCallbackBuilder
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.parser.callback.DebugCallbackDecorator
          Moved to dsiutils. 
it.unimi.dsi.mg4j.io.DebugInputBitStream
          Moved to dsiutils. 
it.unimi.dsi.mg4j.io.DebugOutputBitStream
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.parser.callback.DefaultCallback
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.parser.Element
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.parser.Entity
          Moved to dsiutils. 
it.unimi.dsi.mg4j.compression.Fast64CodeWordCoder
          Moved to dsiutils. 
it.unimi.dsi.mg4j.io.FastBufferedReader
          Moved to dsiutils. 
it.unimi.dsi.mg4j.io.FastByteArrayInputStream
          Moved to fastutil. 
it.unimi.dsi.mg4j.io.FastByteArrayOutputStream
          Moved to fastutil. 
it.unimi.dsi.mg4j.io.FastMultiByteArrayInputStream
          Moved to fastutil. 
it.unimi.dsi.mg4j.io.FileLinesCollection
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.FlyweightPrototypes
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.FrontCodedStringList
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.HashCodeSignedMinimalPerfectHash
          Use the new hashing stuff in Sux4J. 
it.unimi.dsi.mg4j.util.parser.HTMLFactory
          Moved to dsiutils. 
it.unimi.dsi.mg4j.compression.HuffmanCodec
          Moved to dsiutils. 
it.unimi.dsi.mg4j.compression.HuTuckerCodec
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.ImmutableBinaryTrie
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.ImmutableExternalPrefixDictionary
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.ImmutableExternalTreePrefixDictionary
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.ImmutableExternalTriePrefixDictionary
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.ImmutableTriePrefixTree
          Moved to dsiutils. 
it.unimi.dsi.mg4j.io.InputBitStream
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.IntBloomFilter
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.InternedMutableStringSet
          Moved to dsiutils. 
it.unimi.dsi.mg4j.search.Interval
          Moved to dsiutils. 
it.unimi.dsi.mg4j.search.Intervals
          Moved to dsiutils. 
it.unimi.dsi.mg4j.io.LineIterator
          Moved to dsiutils. 
it.unimi.dsi.mg4j.io.LineWordReader
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.parser.callback.LinkExtractor
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.LiterallySignedMinimalPerfectHash
          Use the new hashing stuff in Sux4J. 
it.unimi.dsi.mg4j.util.MinimalPerfectHash
          Use the new hashing stuff in Sux4J. 
it.unimi.dsi.mg4j.io.MultipleInputStream
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.MutableString
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.MutableStrings
          Moved to dsiutils. 
it.unimi.dsi.mg4j.io.NullInputStream
          Moved to dsiutils. 
it.unimi.dsi.mg4j.io.NullOutputStream
          Moved to dsiutils. 
it.unimi.dsi.mg4j.io.NullReader
          Moved to dsiutils. 
it.unimi.dsi.mg4j.io.OutputBitStream
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.PermutedFrontCodedStringList
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.ProgressLogger
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.ProgressMeter
          Use a ProgressLogger instead. 
it.unimi.dsi.mg4j.util.Properties
          Moved to dsiutils. 
it.unimi.dsi.mg4j.io.SegmentedInputStream
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.ShiftAddXorLongSignedMinimalPerfectHash
          Use the new hashing stuff in Sux4J. 
it.unimi.dsi.mg4j.util.ShiftAddXorSignedMinimalPerfectHash
          Use the new hashing stuff in Sux4J. 
it.unimi.dsi.mg4j.util.SignedMinimalPerfectHash
          Use the new hashing stuff in Sux4J. 
it.unimi.dsi.mg4j.index.TermMaps
          Use StringMap and related classes. 
it.unimi.dsi.mg4j.util.TernaryIntervalSearchTree
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.parser.callback.TextExtractor
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.TextPattern
          Moved to dsiutils. 
it.unimi.dsi.mg4j.compression.TreeDecoder
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.parser.WellFormedXmlFactory
          Moved to dsiutils. 
 

Deprecated Fields
it.unimi.dsi.mg4j.util.Fast.BYTELSB
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.Fast.BYTEMSB
          Moved to dsiutils. 
it.unimi.dsi.mg4j.index.CompressionFlags.DEFAULT
          As of MG4J 1.2, replaced by CompressionFlags.DEFAULT_STANDARD_INDEX. 
 

Deprecated Methods
it.unimi.dsi.mg4j.util.Fast.availableMemory()
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.Fast.compactMemory()
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.Fast.ensureLog4JIsConfigured()
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.Fast.ensureLog4JIsConfigured(Level)
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.Fast.format(double)
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.Fast.format(long)
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.Fast.formatBinarySize(long)
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.Fast.formatSize(long)
          Moved to dsiutils. 
it.unimi.dsi.mg4j.compression.Codec.getCoder()
          As of MG4J 2.0.2, replaced by Codec.coder(). 
it.unimi.dsi.mg4j.compression.HuTuckerCodec.getCoder()
           
it.unimi.dsi.mg4j.compression.HuffmanCodec.getCoder()
           
it.unimi.dsi.mg4j.query.parser.SimpleCharStream.getColumn()
            
it.unimi.dsi.mg4j.compression.Codec.getDecoder()
          As of MG4J 2.0.2, replaced by Codec.decoder(). 
it.unimi.dsi.mg4j.compression.HuTuckerCodec.getDecoder()
           
it.unimi.dsi.mg4j.compression.HuffmanCodec.getDecoder()
           
it.unimi.dsi.mg4j.index.AbstractTermMap.getIndex(CharSequence)
           
it.unimi.dsi.mg4j.util.ImmutableExternalPrefixDictionary.getIndex(CharSequence)
           
it.unimi.dsi.mg4j.util.ImmutableTriePrefixTree.getIndex(CharSequence)
           
it.unimi.dsi.mg4j.util.TernaryIntervalSearchTree.getIndex(CharSequence)
           
it.unimi.dsi.mg4j.query.parser.SimpleCharStream.getLine()
            
it.unimi.dsi.mg4j.util.Fast.getLogger(Class)
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.Fast.int2nat(int)
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.Fast.int2nat(long)
          Moved to dsiutils. 
it.unimi.dsi.mg4j.index.AbstractIndexIterator.iterator()
           
it.unimi.dsi.mg4j.util.Fast.leastSignificantBit(int)
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.Fast.leastSignificantBit(long)
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.Fast.log4JIsConfigured()
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.Fast.memoryIsLow()
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.Fast.mostSignificantBit(int)
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.Fast.mostSignificantBit(long)
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.Fast.nat2int(int)
          Moved to dsiutils. 
it.unimi.dsi.mg4j.util.Fast.nat2int(long)
          Moved to dsiutils. 
it.unimi.dsi.mg4j.search.AbstractDocumentIterator.AbstractIntervalIterator.next()
           
it.unimi.dsi.mg4j.search.IntervalIterator.next()
          As of MG4J 1.2, the suggested way of iterating over interval iterators is IntervalIterator.nextInterval(), which has been reintroduced with a fully lazy semantics. After a couple of releases, however, this annotation will be removed, as it is very practical to have interval iterators implementing Iterator<Interval>. Its main purpose is to warn people about performance issues solved by IntervalIterator.nextInterval(). 
it.unimi.dsi.mg4j.search.AbstractDocumentIterator.nextInt()
           
it.unimi.dsi.mg4j.search.DocumentIterator.nextInt()
          As of MG4J 1.2, the suggested way of iterating over document iterators is DocumentIterator.nextDocument(), which has been modified so to provide fully lazy iteration. After a couple of releases, however, this annotation will be removed, as it is very practical to have document iterators implementing IntIterator. Its main purpose is to warn people about performance issues solved by DocumentIterator.nextDocument(). 
it.unimi.dsi.mg4j.search.score.Scorer.nextInt()
          As of MG4J 1.2, the suggested way of iterating over scorer is Scorer.nextDocument(), which provides fully lazy iteration. After a couple of releases, however, this annotation will be removed, as it is very practical to have scorers implementing IntIterator. Its main purpose is to let people know about Scorer.nextDocument(), which solves the same issues as DocumentIterator.nextDocument(). 
it.unimi.dsi.mg4j.search.score.AbstractScorer.nextInt()
           
it.unimi.dsi.mg4j.util.Fast.percAvailableMemory()
          Moved to dsiutils. 
it.unimi.dsi.mg4j.document.InputStreamDocumentSequence.reset()
           
it.unimi.dsi.mg4j.io.DebugInputBitStream.skip(int)
           
it.unimi.dsi.mg4j.io.InputBitStream.skip(int)
          This method is simply an expensive, try/catch-surrounded version of InputBitStream.skip(long) that is made necessary by the interface by BooleanIterator. 
it.unimi.dsi.mg4j.io.OutputBitStream.write(byte[], int)
          As of MG4J 1.2, replaced by OutputBitStream.write(byte[], long). 
it.unimi.dsi.mg4j.io.OutputBitStream.write(byte[], int, int)
          As of MG4J 1.2, replaced by OutputBitStream.write(byte[], long, long).