Enum CathCategory

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<CathCategory>

    public enum CathCategory
    extends java.lang.Enum<CathCategory>
    The categories found within CATH. The CATH node types are: 'C' (class), 'A' (architecture), 'T' (topology), 'H' (homologous superfamily), 'S' (sequence family, S35), 'O' (orthologous sequence family, S60), 'L' ("like" sequence family, S95), 'I' (identical, S100) and 'D' (domain, S100 count).
    Author:
    Daniel Asarnow
    • Enum Constant Detail

      • Architecture

        public static final CathCategory Architecture
      • SequenceFamily

        public static final CathCategory SequenceFamily
      • OrthologousSequenceFamily

        public static final CathCategory OrthologousSequenceFamily
      • LikeSequenceFamily

        public static final CathCategory LikeSequenceFamily
      • IdenticalSequenceFamily

        public static final CathCategory IdenticalSequenceFamily
      • DomainCounter

        public static final CathCategory DomainCounter
    • Method Detail

      • values

        public static CathCategory[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CathCategory c : CathCategory.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CathCategory valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • fromString

        public static CathCategory fromString​(java.lang.String type)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<CathCategory>
      • fromCathCode

        public static CathCategory fromCathCode​(java.lang.String code)