Class Infos.Info
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.Infos.Info
-
-
Constructor Summary
Constructors Constructor Description Info(String name, boolean value)
Constructor.Info(String name, int value)
Constructor.Info(String name, String value)
Constructor.Info(String name, String value, String defaultValue)
Constructor.Info(String name, List<String> values)
Constructor.Info(String name, List<String> values, String defaultValue)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getName()
Get the name of the informationList<String>
getValues()
Get the value of the informationint
hashCode()
int
maxValueLength()
Get the maximal length of the values
-
-
-
Constructor Detail
-
Info
public Info(String name, int value)
Constructor.- Parameters:
name
- name of the infovalue
- value of the info
-
Info
public Info(String name, boolean value)
Constructor.- Parameters:
name
- name of the infovalue
- value of the info
-
Info
public Info(String name, String value)
Constructor.- Parameters:
name
- name of the infovalue
- value of the info
-
Info
public Info(String name, String value, String defaultValue)
Constructor.- Parameters:
name
- name of the infovalue
- value of the infodefaultValue
- default value
-
Info
public Info(String name, List<String> values, String defaultValue)
Constructor.- Parameters:
name
- name of the infovalues
- values of the info
-
-
Method Detail
-
getName
public String getName()
Get the name of the information- Returns:
- the name of the information
-
getValues
public List<String> getValues()
Get the value of the information- Returns:
- the value of the information
-
maxValueLength
public int maxValueLength()
Get the maximal length of the values- Returns:
- the maximal length of the values
-
-