Package psidev.psi.mi.jami.crosslink
Enum CsvType
- java.lang.Object
-
- java.lang.Enum<CsvType>
-
- psidev.psi.mi.jami.crosslink.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 Summary
Enum Constants Enum Constant Description binary_only
mix
single_nary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CsvType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CsvType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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 nameNullPointerException
- if the argument is null
-
-