it.unimi.dsi.mg4j.util
Class InternedMutableStringSet.Term

java.lang.Object
  extended by it.unimi.dsi.mg4j.util.MutableString
      extended by it.unimi.dsi.mg4j.util.InternedMutableStringSet.Term
All Implemented Interfaces:
Serializable, Appendable, CharSequence, Cloneable, Comparable<MutableString>
Enclosing class:
InternedMutableStringSet

public static final class InternedMutableStringSet.Term
extends MutableString

See Also:
Serialized Form

Field Summary
 FastByteArrayOutputStream fbaos
           
 int lastDocument
           
 int lastPosition
           
 OutputBitStream obs
           
 
Fields inherited from class it.unimi.dsi.mg4j.util.MutableString
array, hashLength
 
Constructor Summary
InternedMutableStringSet.Term(MutableString s)
           
 
Method Summary
 void addOccurrence(int document, int position)
           
 
Methods inherited from class it.unimi.dsi.mg4j.util.MutableString
append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, array, capacity, changed, charAt, charAt, clone, compact, compareTo, compareTo, compareTo, compareToIgnoreCase, compareToIgnoreCase, compareToIgnoreCase, copy, cospan, cospan, cospan, cospan, delete, delete, delete, delete, deleteCharAt, endsWith, endsWith, endsWith, endsWithIgnoreCase, endsWithIgnoreCase, endsWithIgnoreCase, ensureCapacity, equals, equals, equals, equals, equalsIgnoreCase, equalsIgnoreCase, equalsIgnoreCase, firstChar, getChars, getChars, hashCode, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOfAnyBut, indexOfAnyBut, indexOfAnyBut, indexOfAnyBut, indexOfAnyOf, indexOfAnyOf, indexOfAnyOf, indexOfAnyOf, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, isCompact, isLoose, lastChar, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOfAnyBut, lastIndexOfAnyBut, lastIndexOfAnyBut, lastIndexOfAnyBut, lastIndexOfAnyOf, lastIndexOfAnyOf, lastIndexOfAnyOf, lastIndexOfAnyOf, length, length, loose, print, print, println, println, read, readSelfDelimUTF8, readSelfDelimUTF8, readUTF8, readUTF8, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, reverse, setCharAt, setLength, span, span, span, span, squeezeSpace, squeezeSpaces, squeezeWhitespace, startsWith, startsWith, startsWith, startsWithIgnoreCase, startsWithIgnoreCase, startsWithIgnoreCase, subSequence, substring, substring, toCharArray, toLowerCase, toString, toUpperCase, trim, trimLeft, trimRight, wrap, wrap, write, writeSelfDelimUTF8, writeSelfDelimUTF8, writeUTF8, writeUTF8
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

lastDocument

public int lastDocument

lastPosition

public int lastPosition

fbaos

public final FastByteArrayOutputStream fbaos

obs

public final OutputBitStream obs
Constructor Detail

InternedMutableStringSet.Term

public InternedMutableStringSet.Term(MutableString s)
Method Detail

addOccurrence

public void addOccurrence(int document,
                          int position)
                   throws IOException
Throws:
IOException