21 lines
441 B
Java
21 lines
441 B
Java
|
|
package jxl.common;
|
||
|
|
|
||
|
|
public class LengthUnit extends BaseUnit {
|
||
|
|
private static int count = 0;
|
||
|
|
|
||
|
|
private LengthUnit() {
|
||
|
|
super(count++);
|
||
|
|
}
|
||
|
|
|
||
|
|
public static int getCount() {
|
||
|
|
return count;
|
||
|
|
}
|
||
|
|
|
||
|
|
public static LengthUnit POINTS = new LengthUnit();
|
||
|
|
|
||
|
|
public static LengthUnit METRES = new LengthUnit();
|
||
|
|
|
||
|
|
public static LengthUnit CENTIMETRES = new LengthUnit();
|
||
|
|
|
||
|
|
public static LengthUnit INCHES = new LengthUnit();
|
||
|
|
}
|