Uses of Class
org.djunits.unit.Unit.Builder
Packages that use Unit.Builder
-
Uses of Unit.Builder in org.djunits.unit
Subclasses of Unit.Builder in org.djunits.unitModifier and TypeClassDescriptionstatic classAbsoluteLinearUnit.Builder<AU extends AbsoluteLinearUnit<AU,RU>, RU extends Unit<RU>> Builder for the AbsoluteUnit.Methods in org.djunits.unit that return Unit.BuilderModifier and TypeMethodDescriptionUnit.makeBuilder()Create a Builder.Unit.Builder.setAdditionalAbbreviations(String... newAdditionalAbbreviations) Set the additional abbreviations.Unit.Builder.setDefaultDisplayAbbreviation(String newDefaultDisplayAbbreviation) Set the default display abbreviation.Unit.Builder.setDefaultTextualAbbreviation(String newDefaultTextualAbbreviation) Set the default textual abbreviation.Unit.Builder.setGenerated(boolean newGenerated) Set the generated flag.Set the id of the unit that this builder builds.Set the name.Unit.Builder.setQuantity(Quantity<U> newQuantity) Set the unit base.Set the scale.Unit.Builder.setSiPrefixes(SIPrefixes newSiPrefixes, double power) Set whether SI prefixes, ranging from quetta (Q) to quecto (q), are allowed.Unit.Builder.setUnitSystem(UnitSystem newUnitSystem) Set the unit system.Methods in org.djunits.unit with parameters of type Unit.BuilderModifier and TypeMethodDescriptionAbsoluteLinearUnit.build(Unit.Builder<AU> builder) Unit.build(Unit.Builder<U> builder) Build the unit, using the information of the provided builder class.