Class Unit

java.lang.Object
de.xima.fc.common.Unit
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Unit>

public final class Unit extends Object implements 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 Details

    • UNIT

      public static final Unit UNIT
      The one and only instance of the unit data type.
  • Method Details