view src/main/java/fj/Unit.java @ 2:d2b4440b2cc0

change getLoop
author tatsuki
date Sat, 21 Mar 2015 08:06:30 +0900
parents fe80c1edf1be
children
line wrap: on
line source

package fj;

/**
 * The unit type which has only one value.
 *
 * @version %build.number%
 */
public final class Unit {
  private static final Unit u = new Unit();

  private Unit() {

  }

  /**
   * The only value of the unit type.
   *
   * @return The only value of the unit type.
   */
  public static Unit unit() {
    return u;
  }
}