Package com.independentsoft.calc.functions

# Class ConvertUnits.UnitDef

java.lang.Object
com.independentsoft.calc.functions.ConvertUnits.UnitDef

Enclosing class:
  ConvertUnits

public static final class ConvertUnits.UnitDef extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `boolean`
  `allowPrefix`
  `String`
  `category`
  `double`
  `factor`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `UnitDef​(String category, double factor, boolean allowPrefix)`

- ## Method Summary

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### category

    public String category

  - ### factor

    public double factor

  - ### allowPrefix

    public boolean allowPrefix

- ## Constructor Details

  - ### UnitDef

    public UnitDef​(String category, double factor, boolean allowPrefix)