| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final IdentityMultiplyConverter | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(UnitConverter
the object to be compared. o)Implements java. Compares this object with the specified object for order. |
| public UnitConverter | concatenate(UnitConverter
the other converter to concatenate with this converter. converter)Implements javax. Concatenates this converter with another converter. |
| public Number | convert(Number
the value)Number value to convert.Implements javax. Converts a |
| public double | convert(double
the numeric value to convert. value)Implements javax. Converts a |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public double | |
| public List | getConversionSteps()
Implements javax.
Returns the steps of fundamental converters making up this converter or |
| public Number | |
| public int | |
| public UnitConverter | |
| public boolean | isIdentity()
Implements javax. Indicates if this converter is an identity converter. |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final IdentityMultiplyConverter INSTANCE | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| IdentityMultiplyConverter | back to summary |
|---|---|
| private IdentityMultiplyConverter() | |
| compareTo | back to summary |
|---|---|
| public int compareTo(UnitConverter o) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| concatenate | back to summary |
|---|---|
| public UnitConverter concatenate(UnitConverter converter) Implements javax. Doc from javax. Concatenates this converter with another converter. The resulting converter is equivalent to first converting by the specified converter (right converter), and then converting by this converter (left converter).
| |
| convert | back to summary |
|---|---|
| public Number convert(Number value) Implements javax. Doc from javax. Converts a | |
| convert | back to summary |
|---|---|
| public double convert(double value) Implements javax. Doc from javax. Converts a
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getAsDouble | back to summary |
|---|---|
| public double getAsDouble() Implements java. Doc from java. Gets a result.
| |
| getConversionSteps | back to summary |
|---|---|
| public List Implements javax. Doc from javax.
Returns the steps of fundamental converters making up this converter or
For example,
| |
| getValue | back to summary |
|---|---|
| public Number getValue() Implements tech. Doc from tech. Gets a value. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| inverse | back to summary |
|---|---|
| public UnitConverter inverse() Implements javax. Doc from javax. Returns the inverse of this converter. If
| |
| isIdentity | back to summary |
|---|---|
| public boolean isIdentity() Implements javax. Doc from javax. Indicates if this converter is an identity converter. The identity converter returns its input argument ( Note Identity converters are also always 'linear', see
| |