-
-
Notifications
You must be signed in to change notification settings - Fork 12
Implementation Role Feature 14
Max Haertwig edited this page Nov 15, 2020
·
6 revisions
An object and its roles share identity
In the object-oriented world this entails that an object and its roles are the same.
The compound role object will always have the same identity as its contained player object and each and every role object.
For more test cases see EqualityRoleTest.scala.