Class Unit
java.lang.Object
de.xima.fc.common.Unit
- All Implemented Interfaces:
Serializable, Cloneable, Comparable<Unit>
The
Unit class represents the unit datatype with only one member (one possible value).
The unit type is the terminal object in the category of types and typed functions. It should not be confused with
the zero or empty type Void, which allows no values and is the initial object in this category. Similarly,
Boolean is the type with two values.
- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
Fields -
Method Summary
-
Field Details
-
UNIT
The one and only instance of the unit data type.
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<Unit>
-
equals
-
hashCode
-
toString
-
clone
-