Package weka.core

Enum Class Capabilities.Capability

java.lang.Object
java.lang.Enum<Capabilities.Capability>
weka.core.Capabilities.Capability
All Implemented Interfaces:
Serializable, Comparable<Capabilities.Capability>, Constable
Enclosing class:
Capabilities

public static enum Capabilities.Capability extends Enum<Capabilities.Capability>
enumeration of all capabilities
  • Enum Constant Details

  • Method Details

    • values

      public static Capabilities.Capability[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Capabilities.Capability valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isAttribute

      public boolean isAttribute()
      returns true if the capability is an attribute
      Returns:
      true if the capability is an attribute
    • isClass

      public boolean isClass()
      returns true if the capability is a class
      Returns:
      true if the capability is a class
    • isAttributeCapability

      public boolean isAttributeCapability()
      returns true if the capability is an attribute capability
      Returns:
      true if the capability is an attribute capability
    • isOtherCapability

      public boolean isOtherCapability()
      returns true if the capability is a class capability
      Returns:
      true if the capability is a class capability
    • isClassCapability

      public boolean isClassCapability()
      returns true if the capability is a other capability
      Returns:
      true if the capability is a other capability
    • toString

      public String toString()
      returns the display string of the capability
      Overrides:
      toString in class Enum<Capabilities.Capability>
      Returns:
      the display string