Package cdc.enums

Interface ForestDynamicEnum<V extends ForestDynamicEnum<V>>

All Superinterfaces:
DynamicEnum
All Known Implementing Classes:
AbstractForestDynamicEnum

public interface ForestDynamicEnum<V extends ForestDynamicEnum<V>> extends DynamicEnum
  • Method Details

    • 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.