-
- private AltosFrequency(AltosHashSet h) {
- frequency = h.getDouble("frequency", 0.0);
- description = h.getString("description", "");
- }
-
- public static AltosFrequency fromHashSet(AltosHashSet h, AltosFrequency def) {
- if (h == null)
- return def;
- return new AltosFrequency(h);
- }
-
- private AltosFrequency(AltosJson j) {
- frequency = j.get_double("frequency", 0.0);
- description = j.get_string("description", "");
- }
-
- public static AltosFrequency fromJson(AltosJson j, AltosFrequency def) {
- if (j == null)
- return def;
- return new AltosFrequency(j);