|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.measures.Length
public class Length
Length is a non-negative Distance.
Length supports the same units of measure as Distance.
| Field Summary | |
|---|---|
static java.lang.String |
RB_KEY
|
| Fields inherited from class com.sas.measures.BaseDistance |
|---|
DEVICE_UNITS, FIXED_UNITS, FONT_UNITS, unitIndex |
| Fields inherited from class com.sas.measures.Measure |
|---|
DISPLAY_FORMAT_NOSPACE_BETWEEN_MAGNITUDE_AND_UNIT, DISPLAY_FORMAT_SPACE_BETWEEN_MAGNITUDE_AND_UNIT, displayFormat, locale, magnitude |
| Constructor Summary | |
|---|---|
Length(double magnitude,
java.lang.String unit)
Construct a Length object with the specified magnitude and unit. |
|
Length(java.lang.String text)
Constructs a Length object with the specified values. |
|
| Method Summary |
|---|
| Methods inherited from class com.sas.measures.Distance |
|---|
makeUnitsAssociationList, makeUnitsList |
| Methods inherited from class com.sas.measures.BaseDistance |
|---|
getMagnitude, getMagnitude, getUnit, getUnitName, getUnitType, initializeUnit, makeUnitsJavaList, makeUnitsMap, validateUnit |
| Methods inherited from class com.sas.measures.Measure |
|---|
_init, clone, equals, equals, getMagnitude, hashCode, toString |
| Field Detail |
|---|
public static final java.lang.String RB_KEY
| Constructor Detail |
|---|
public Length(double magnitude,
java.lang.String unit)
Length object with the specified magnitude and unit. The magnitude for a Length
must be a non-negative value.
magnitude - the magnitude for the new Length objectunit - the unit of the new Length object
java.lang.IllegalArgumentException - if the magnitude is a negative value or if the unit value is
not supportedpublic Length(java.lang.String text)
text - String object containing the magnitude and unit
java.lang.IllegalArgumentException - if the magnitude is a negative value or if the unit value is
not supported
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||