Class MilliliterUnit

java.lang.Object
com.tccc.kos.commons.util.units.Unit
com.tccc.kos.commons.util.units.impl.MilliliterUnit

public class MilliliterUnit extends Unit
A Unit class that represents volume in milliliters.

This is the kOS standard unit for volume.

Since:
1.0
Version:
2023-02-28
  • Constructor Details

    • MilliliterUnit

      public MilliliterUnit()
      Creates a MilliliterUnit with no alias and default set to true.
    • MilliliterUnit

      public MilliliterUnit(String alias, boolean def)
      Creates a MilliliterUnit with the specified alias and default flag.
      Parameters:
      alias - alias for the unit
      def - true for unit to be default in the system