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

@ -12,6 +12,10 @@ public final class Boolean {
this.value = value;
}
public static Boolean valueOf(boolean value) {
return (value ? Boolean.TRUE : Boolean.FALSE);
}
public boolean equals(Object o) {
return o instanceof Boolean && ((Boolean) o).value == value;
}