|
|
|
|
|
by jzoch
1137 days ago
|
|
yeah this is where traits instead of hierarchies become useful - I should be able to implement the Hash interface for an object I do not own and then use that object + trait going forward for HashMap and HashSet. Java doesnt make this very composable |
|