Didn't really know where to put this, and its more of a question on java in general.
So im making a Families part of a plugin im working, and the families are in an enum since they are from a tv show. As families are related to each other, is there anyway i can add a part to this enum where it can have a list of their relatives. i tried something like
TEST({Family.TEST, Family.WH})
but i couldnt put an arraylist in an enum. any help is appreciated. thanks.
So im making a Families part of a plugin im working, and the families are in an enum since they are from a tv show. As families are related to each other, is there anyway i can add a part to this enum where it can have a list of their relatives. i tried something like
TEST({Family.TEST, Family.WH})
but i couldnt put an arraylist in an enum. any help is appreciated. thanks.
