Class Quantity.Length

java.lang.Object
gaiasky.util.units.Quantity.Length
Enclosing class:
Quantity

public static class Quantity.Length
extends java.lang.Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  Quantity.Length.LengthUnit  
  • Constructor Summary

    Constructors
    Constructor Description
    Length​(double value, Quantity.Length.LengthUnit unit)  
    Length​(double value, java.lang.String unit)  
  • Method Summary

    Modifier and Type Method Description
    double get​(Quantity.Length.LengthUnit unit)  
    static boolean isLength​(java.lang.String unit)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Length

      public Length​(double value, Quantity.Length.LengthUnit unit)
    • Length

      public Length​(double value, java.lang.String unit)
  • Method Details

    • isLength

      public static boolean isLength​(java.lang.String unit)
    • get

      public double get​(Quantity.Length.LengthUnit unit)