Package cdc.enums

Interface ForestDynamicEnum<V extends ForestDynamicEnum<V>>

    • Method Detail

      • getParent

        V getParent()
        Returns:
        The parent of this enumeration value.
      • getChildren

        List<V> getChildren()
        Returns:
        The children of this enumeration value.
      • hasChildNamed

        default boolean hasChildNamed​(String name)
        Parameters:
        name - The name.
        Returns:
        true if this enumeration value has a child named name.
      • isOverOrEqual

        default boolean isOverOrEqual​(V other)
        Parameters:
        other - The other enumeration value.
        Returns:
        true if this enumeration value is over or equal to other.
      • isStrictlyOver

        default boolean isStrictlyOver​(V other)
        Parameters:
        other - The other enumeration value.
        Returns:
        true if this enumeration value is strictly over other.