Package fj

Class Unit


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

    • u

      private static final Unit u
  • Constructor Details

    • Unit

      private Unit()
  • 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