final class MinMaxLen extends Object
Modifier and Type | Field and Description |
---|---|
private static short[] |
distValues |
(package private) static int |
INFINITE_DISTANCE |
(package private) int |
max |
(package private) int |
min |
Constructor and Description |
---|
MinMaxLen() |
MinMaxLen(int min,
int max) |
Modifier and Type | Method and Description |
---|---|
(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) |
int min
int max
private static final short[] distValues
static final int INFINITE_DISTANCE
int distanceValue()
int compareDistanceValue(MinMaxLen other, int v1, int v2)
boolean equal(MinMaxLen other)
void set(int min, int max)
void clear()
void copy(MinMaxLen other)
void add(MinMaxLen other)
void addLength(int len)
void altMerge(MinMaxLen other)
static int distanceAdd(int d1, int d2)
static int distanceMultiply(int d, int m)
static String distanceRangeToString(int a, int b)
Copyright © 2018. All rights reserved.