001 package fj; 002 003 /** 004 * The unit type which has only one value. 005 * 006 * @version %build.number%<br> 007 * <ul> 008 * <li>$LastChangedRevision: 5 $</li> 009 * <li>$LastChangedDate: 2008-12-06 16:49:43 +1000 (Sat, 06 Dec 2008) $</li> 010 * </ul> 011 */ 012 public final class Unit { 013 private static final Unit u = new Unit(); 014 015 private Unit() { 016 017 } 018 019 /** 020 * The only value of the unit type. 021 * 022 * @return The only value of the unit type. 023 */ 024 public static Unit unit() { 025 return u; 026 } 027 }