|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.typesetter.paragraphBuilder.impl.Fitness
public final class Fitness
This class provides a finite enumeration for fitness values.
| Field Summary | |
|---|---|
static Fitness |
DECENT
The field DESCENT contains the fitness of class 2. |
static Fitness |
LOOSE
The field LOOSE contains the fitness of class 1. |
static Fitness |
TIGHT
The field TIGHT contains the fitness of class 3. |
static Fitness |
VERY_LOOSE
The field VERY_LOOSE contains the fitness of class 0. |
| Method Summary | |
|---|---|
boolean |
adjacent(Fitness fitness)
Determine whether the given fitness has the same order or a class which is one less or one more than the own order. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Fitness TIGHT
public static final Fitness LOOSE
public static final Fitness VERY_LOOSE
public static final Fitness DECENT
| Method Detail |
|---|
public boolean adjacent(Fitness fitness)
fitness - the fitness to compare to
true iff the order of the given fitness is equal
or adjacent to the given one.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||