net.sf.cpsolver.ifs.util
Class CSVFile.CSVField
java.lang.Object
net.sf.cpsolver.ifs.util.CSVFile.CSVField
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- CSVFile
public static class CSVFile.CSVField
- extends Object
- implements Serializable
Representation of a field of a CSV file
- See Also:
- Serialized Form
CSVFile.CSVField
public CSVFile.CSVField(String field,
String quotationMark)
CSVFile.CSVField
public CSVFile.CSVField(Object field)
CSVFile.CSVField
public CSVFile.CSVField(int field)
CSVFile.CSVField
public CSVFile.CSVField(boolean field)
CSVFile.CSVField
public CSVFile.CSVField(double field)
CSVFile.CSVField
public CSVFile.CSVField(long field)
CSVFile.CSVField
public CSVFile.CSVField(float field)
set
public void set(Object value)
set
public void set(int value)
set
public void set(boolean value)
set
public void set(double value)
set
public void set(long value)
set
public void set(float value)
toString
public String toString()
- Overrides:
toString
in class Object
isEmpty
public boolean isEmpty()
toInt
public int toInt()
toInt
public int toInt(int defaultValue)
toLong
public long toLong()
toLong
public long toLong(long defaultValue)
toDouble
public double toDouble()
toDouble
public double toDouble(double defaultValue)
toDate
public Date toDate()
toBoolean
public boolean toBoolean()