Package org.djunits.unit
package org.djunits.unit
Base classes to encode and store units.
Copyright (c) 2025-2026 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djunits.org. The DJUNITS project is distributed under a three-clause BSD-style license.
- Author:
- Alexander Verbraeck
-
ClassDescriptionThe AbstractUnit is the parent class of all units, and encodes the common behavior of the units.UnitInterface defines the contract for a unit.Unitless encodes a unit without dimensions, e.g., to encode a constant.Runtime Exceptions in Unit package.Units is a static class that can register and resolve string representations of units, possibly using a locale.UTF-8 loader for .properties ResourceBundles.