implementing class Maybe...
I wonder what makes more sense, this:
or this?
public String toString() {
return hasValue() ? ("Maybe(" + value + ")") : "Maybe.NONE";
}
or this?
public String toString() {
return hasValue() ? value.toString() : "NONE"
}
