Class DirectoryTaxonomyWriter.MemoryOrdinalMap

    • Constructor Summary

      Constructors 
      Constructor Description
      MemoryOrdinalMap()
      Sole constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addDone()
      Call addDone() to say that all addMapping() have been done.
      void addMapping​(int origOrdinal, int newOrdinal)
      Record a mapping.
      int[] getMap()
      Return the map from the taxonomy's original (consecutive) ordinals to the new taxonomy's ordinals.
      void setSize​(int taxonomySize)
      Set the size of the map.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MemoryOrdinalMap

        public MemoryOrdinalMap()
        Sole constructor.