|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Stringifyable
This interface is a marker for classes that enforce the following conditions:
#toString() is
overridden fromString) that takes a single String and returns an instance
of the class #hashCode() and #equals(Object) are overridden to provide equivalence a of a Stringifyable class Foo,
a.equals(new Foo(a.toString()) returns trueString, the second point is necessary for cases when an implementor
wishes to manage the set of instances rather than always create new instances.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||