import java.util.concurrent.*;
import java.io.*;
-public class AltosMag implements Cloneable, AltosHashable {
+public class AltosMag implements Cloneable {
public int along;
public int across;
public int through;
break;
}
}
-
- public AltosHashSet hashSet() {
- AltosHashSet h = new AltosHashSet();
-
- h.putInt("along", along);
- h.putInt("across", across);
- h.putInt("through", through);
- return h;
- }
-
- public AltosMag(AltosHashSet h) {
- this();
-
- along = h.getInt("along", along);
- across = h.getInt("across", across);
- through = h.getInt("through", through);
- }
-
- public static AltosMag fromHashSet(AltosHashSet h, AltosMag def) {
- if (h == null)
- return def;
-
- return new AltosMag(h);
- }
}