flesh out serialization/deserialization code and fix build

This commit is contained in:
Joel Dice
2007-08-12 18:50:25 -06:00
parent 92ba1880d8
commit c20219df19
21 changed files with 285 additions and 163 deletions

View File

@ -9,6 +9,10 @@ public final class Byte extends Number {
this.value = value;
}
public static Byte valueOf(byte value) {
return new Byte(value);
}
public boolean equals(Object o) {
return o instanceof Byte && ((Byte) o).value == value;
}