|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OCLValue
The OCLValue interface must be implemented by any datatype for which Java's Object.equals is inappropriate when OCL datatype equivalence is required.
Method Summary | |
---|---|
boolean |
oclEquals(OCLValue thatValue)
Return true if this is an equivalent OCL value to thatValue. |
int |
oclHashCode()
|
Method Detail |
---|
boolean oclEquals(@NonNull OCLValue thatValue)
Note that the caller must check that the argument is an OCLValue and should also check for the shortcut case that this == thatValue. Implementations are therefore wasting time if they re-implement the shortcut.
int oclHashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |