Mercurial > hg > Members > tatsuki > functionaljava-master > core
view src/main/java/fj/Unit.java @ 0:fe80c1edf1be
add getLoop
author | tatsuki |
---|---|
date | Fri, 20 Mar 2015 21:04:03 +0900 |
parents | |
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; } }