Package org.joni

Class MinMaxLen

java.lang.Object
org.joni.MinMaxLen

final class MinMaxLen extends Object
  • Field Details

    • min

      int min
    • max

      int max
    • distValues

      private static final short[] distValues
    • INFINITE_DISTANCE

      static final int INFINITE_DISTANCE
      See Also:
  • Constructor Details

    • MinMaxLen

      MinMaxLen()
    • MinMaxLen

      MinMaxLen(int min, int max)
  • Method Details

    • distanceValue

      int distanceValue()
    • compareDistanceValue

      int compareDistanceValue(MinMaxLen other, int v1, int v2)
    • equal

      boolean equal(MinMaxLen other)
    • set

      void set(int min, int max)
    • clear

      void clear()
    • copy

      void copy(MinMaxLen other)
    • add

      void add(MinMaxLen other)
    • addLength

      void addLength(int len)
    • altMerge

      void altMerge(MinMaxLen other)
    • distanceAdd

      static int distanceAdd(int d1, int d2)
    • distanceMultiply

      static int distanceMultiply(int d, int m)
    • distanceRangeToString

      static String distanceRangeToString(int a, int b)