Package | Description |
---|---|
net.grelf |
This package contains general-purpose Java classes: non-astronomical and
not specific to GRIP.
|
Modifier and Type | Field and Description |
---|---|
protected Length.Units |
Length.units |
Modifier and Type | Method and Description |
---|---|
Length.Units |
Length.Units.createUnitsFromName(java.lang.String unitsName)
Create an object of this type that matches the units name (ignoring
case).
|
Length.Units |
Length.getUnits() |
static Length.Units |
Length.Units.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Length.Units[] |
Length.Units.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
double |
Triangle.area(Length.Units requiredUnits)
There is not yet an Area class - there may be in future.
|
double |
Length.getValue(Length.Units requiredUnits) |
Length |
Triangle.perimeter(Length.Units requiredUnits) |
Constructor and Description |
---|
Length(double value,
Length.Units units) |