Package com.vladris.maki
Class Unit
- java.lang.Object
-
- com.vladris.maki.Unit
-
public final class Unit extends java.lang.Object
Represents a unit type.A unit type has only one possible value. It is semantically equivalent to Void, but can be instantiated.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Unit
get()
Gets the singleton Unit value.
-
-
-
Method Detail
-
get
public static Unit get()
Gets the singleton Unit value.- Returns:
- Singleton Unit value.
-
-