Enum CsvType

  • All Implemented Interfaces:
    Serializable, Comparable<CsvType>

    public enum CsvType
    extends Enum<CsvType>
    The different types of crosslink CSV input files - mix: Mix of binary and n-ary interactions which can be distinguished using bait/complex column - single_nary: the CSV file is reporting one single n-ary interaction - binary_only: the CSV file only contains binary interactions
    Since:
    18/11/14
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Enum Constant Detail

      • mix

        public static final CsvType mix
      • single_nary

        public static final CsvType single_nary
      • binary_only

        public static final CsvType binary_only
    • Method Detail

      • values

        public static CsvType[] 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 (CsvType c : CsvType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CsvType valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null