Class UnitsData.Categories

  • Enclosing class:
    UnitsData

    public static class UnitsData.Categories
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static java.util.HashMap<java.lang.String,​java.lang.Integer> baseUnitToIndex
      Maps from base unit to an index value: an index into the indexToCategory array.
      (package private) static java.lang.String[] indexToCategory
      Our official array of category strings - categories are identified by indeces into this array.
    • Constructor Summary

      Constructors 
      Constructor Description
      Categories()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • baseUnitToIndex

        static java.util.HashMap<java.lang.String,​java.lang.Integer> baseUnitToIndex
        Maps from base unit to an index value: an index into the indexToCategory array.
      • indexToCategory

        static java.lang.String[] indexToCategory
        Our official array of category strings - categories are identified by indeces into this array.
    • Constructor Detail

      • Categories

        public Categories()