MCPcopy Index your code
hub / github.com/chuangw6/COMP90041_Tutorial / consistent

Method consistent

tutorial 6/code/demo/Person.java:207–216  ·  view source on GitHub ↗

To be consistent, birthDate must not be null. If there is no date of death (deathDate == null), that is consistent with any birthDate. Otherwise, the birthDate must come before or be equal to the deathDate.

(Date birthDate, Date deathDate)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

PersonMethod · 0.95
setMethod · 0.95
setBirthDateMethod · 0.95
setDeathDateMethod · 0.95
setBirthYearMethod · 0.95
setDeathYearMethod · 0.95

Calls 2

precedesMethod · 0.45
equalsMethod · 0.45

Tested by

no test coverage detected