udunits/src/main/java/ucar/units/StandardPrefixDB.java
public static void main(final String[] args) throws Exception {
    final PrefixDB db = StandardPrefixDB.instance();
    System.out.println("db.getPrefixBySymbol(\"cm\") = \""
            + db.getPrefixBySymbol("cm") + '"');
    System.out.println("db.getPrefixBySymbol(\"dm\") = \""
            + db.getPrefixBySymbol("dm") + '"');
  }
public static void main(final String[] args) throws Exception {
    final PrefixDB db = StandardPrefixDB.instance();
    System.out.println("db.getPrefixBySymbol(\"cm\") = \""
            + db.getPrefixBySymbol("cm") + '"');
    System.out.println("db.getPrefixBySymbol(\"dm\") = \""
            + db.getPrefixBySymbol("dm") + '"');
  }
public static void main ( final String [ ] args ) throws Exception { final PrefixDB db = StandardPrefixDB . instance ( ) ; System . out . println ( "db.getPrefixBySymbol(\"cm\") = \"" + db . getPrefixBySymbol ( "cm" ) + ' ' ) ; System . out . println ( "db.getPrefixBySymbol(\"dm\") = \"" + db . getPrefixBySymbol ( "dm" ) + ' ' ) ; }
Tests this class.
Tests this class .