Chris Fillmore
10/21/2021, 5:41 PMCasey Brooks
10/21/2021, 6:13 PMMap
is a better choice than List
for holding onto them. Make each Trait identified by some Key in the Map rather than searching a List for the actual type, with generics to enforce type-safety of Keys to Trait values.Chris Fillmore
10/21/2021, 6:16 PM