Class Unit


public final class Unit extends Object
The unit type which has only one value.
  • Method Details

    • unit

      public static Unit unit()
      The only value of the unit type.
      Returns:
      The only value of the unit type.
    • toString

      public String toString()
      Overrides:
      toString in class Object