I have an object that has a default name (String) and a list of aliases (List<String>). Right now I just have a WeightedKey of the name, but I'd also like to search in the aliases. The list of aliases is of variable length. Is there a simple way to do this?
I have an object that has a default name (
String
) and a list of aliases (List<String>
). Right now I just have aWeightedKey
of the name, but I'd also like to search in the aliases. The list of aliases is of variable length. Is there a simple way to do this?