-
-
Notifications
You must be signed in to change notification settings - Fork 12
Implementation Role Feature 26
Max Leuthäuser edited this page Oct 16, 2015
·
3 revisions
Compartments have their own identity
With compartments as Traits or classes SCROLL treats them as first-class entities at instance level.
You can compare compartment instances based on their implementation of equals
and hashCode
functions.
You can always override the equals
and hashCode
functions on your compartment traits/classes to implement you own custom identity behavior.