Class AbsoluteLinearUnit.Builder<AU extends AbsoluteLinearUnit<AU,​RU>,​RU extends Unit<RU>>

  • Type Parameters:
    AU - the specific unit for which this is the builder
    RU - the corresponding relative unit
    All Implemented Interfaces:
    Serializable
    Enclosing class:
    AbsoluteLinearUnit<AU extends AbsoluteLinearUnit<AU,​RU>,​RU extends Unit<RU>>

    public static class AbsoluteLinearUnit.Builder<AU extends AbsoluteLinearUnit<AU,​RU>,​RU extends Unit<RU>>
    extends Unit.Builder<AU>
    Builder for the AbsoluteUnit. This builder forces a relative unit base to be set for the absolute unit as well. Furthermore, it forces an OffsetLinearScale rather than a linear scale.

    Copyright (c) 2019-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
    BSD-style license. See DJUNITS License.

    Author:
    Alexander Verbraeck
    See Also:
    Serialized Form