1 package org.djunits.unit;
2
3 import org.djunits.quantity.Quantity;
4 import org.djunits.unit.scale.IdentityScale;
5 import org.djunits.unit.si.SIPrefixes;
6 import org.djunits.unit.unitsystem.UnitSystem;
7
8
9
10
11
12
13
14
15
16 public final class DimensionlessUnit extends Unit<DimensionlessUnit>
17 {
18
19 private static final long serialVersionUID = 20150830L;
20
21
22 public static final Quantity<DimensionlessUnit> BASE = new Quantity<>("Dimensionless", "");
23
24
25 public static final DimensionlessUnit SI =
26 new DimensionlessUnit().build(new Unit.Builder<DimensionlessUnit>().setQuantity(BASE).setId("").setName("")
27 .setUnitSystem(UnitSystem.OTHER).setSiPrefixes(SIPrefixes.NONE, 1.0).setScale(IdentityScale.SCALE));
28
29 }