Class MutableCodePointTrie.AllSameBlocks

java.lang.Object
com.ibm.icu.util.MutableCodePointTrie.AllSameBlocks
Enclosing class:
MutableCodePointTrie

private static final class MutableCodePointTrie.AllSameBlocks extends Object
  • Field Details

    • NEW_UNIQUE

      static final int NEW_UNIQUE
      See Also:
    • OVERFLOW

      static final int OVERFLOW
      See Also:
    • CAPACITY

      private static final int CAPACITY
      See Also:
    • length

      private int length
    • mostRecent

      private int mostRecent
    • indexes

      private int[] indexes
    • values

      private int[] values
    • refCounts

      private int[] refCounts
  • Constructor Details

    • AllSameBlocks

      AllSameBlocks()
  • Method Details

    • findOrAdd

      int findOrAdd(int index, int count, int value)
    • add

      void add(int index, int count, int value)
      Replaces the block which has the lowest reference count.
    • findMostUsed

      int findMostUsed()