org.joni
Class MinMaxLen

java.lang.Object
  extended by org.joni.MinMaxLen

final class MinMaxLen
extends Object


Field Summary
private static short[] distValues
           
(package private) static int INFINITE_DISTANCE
           
(package private)  int max
           
(package private)  int min
           
 
Constructor Summary
MinMaxLen()
           
MinMaxLen(int min, int max)
           
 
Method Summary
(package private)  void add(MinMaxLen other)
           
(package private)  void addLength(int len)
           
(package private)  void altMerge(MinMaxLen other)
           
(package private)  void clear()
           
(package private)  int compareDistanceValue(MinMaxLen other, int v1, int v2)
           
(package private)  void copy(MinMaxLen other)
           
(package private) static int distanceAdd(int d1, int d2)
           
(package private) static int distanceMultiply(int d, int m)
           
(package private) static String distanceRangeToString(int a, int b)
           
(package private)  int distanceValue()
           
(package private)  boolean equal(MinMaxLen other)
           
(package private)  void set(int min, int max)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

min

int min

max

int max

distValues

private static final short[] distValues

INFINITE_DISTANCE

static final int INFINITE_DISTANCE
See Also:
Constant Field Values
Constructor Detail

MinMaxLen

MinMaxLen()

MinMaxLen

MinMaxLen(int min,
          int max)
Method Detail

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)


Copyright © 2013. All Rights Reserved.