Package com.independentsoft.calc.functions

# Class ConvertUnits

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

public final class ConvertUnits extends Object

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `ConvertUnits.UnitDef`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static boolean`
  `tryConvert​(double value, String from, String to, OutDouble result)`
  `static boolean`
  `tryResolve​(String unit, Out<ConvertUnits.UnitDef> def, OutDouble multiplier, Out<String> normalizedName)`

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

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

- ## Method Details

  - ### tryResolve

    public static boolean tryResolve​(String unit, Out<ConvertUnits.UnitDef> def, OutDouble multiplier, Out<String> normalizedName)

  - ### tryConvert

    public static boolean tryConvert​(double value, String from, String to, OutDouble result)