java.lang.Object
io.github.headlesshq.headlessmc.launcher.version.family.Family<T>
Type Parameters:
T - the type of the members.

public class Family<T extends HasParent<T>> extends Object
Represents the family of a HasParent.
  • Constructor Details

    • Family

      public Family(Set<T> members, boolean circular)
  • Method Details

    • isCircular

      public boolean isCircular()
      Returns:
      true, if, at some point, a member has a parent which is also a child of his.
    • getMembers

      public Set<T> getMembers()
      Returns:
      the members of this family.