|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Valuable
Interface to define the properties of an object which has an intrinsic value.
Method Summary | |
---|---|
java.lang.Number |
getValue()
Get the value which we can use to compare this object with other Valuable objects, for example in conjunction with Best
interface. |
Methods inherited from interface net.sf.tostring0.Identifiable |
---|
getIdentifier |
Method Detail |
---|
java.lang.Number getValue() throws ValueException
Valuable
objects, for example in conjunction with Best
interface.
NOTE: that this method gets called a lot. Therefore, if invoking it
requires a significant amount of work, the Valuable
implementation should consider caching the value.
ValueException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |