Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addRow(Object[]) - Method in class org.djutils.data.ListTable
-
Adds a row to the table.
- addRow(Map<Column<?>, Object>) - Method in class org.djutils.data.ListTable
-
Adds a row to the table.
- addRowByColumnIds(Map<String, Object>) - Method in class org.djutils.data.ListTable
-
Adds a row to the table.
B
- BooleanSerializer - Class in org.djutils.data.serialization
-
BooleanSerializer (de)serializes Boolean objects.
- BooleanSerializer() - Constructor for class org.djutils.data.serialization.BooleanSerializer
- ByteSerializer - Class in org.djutils.data.serialization
-
ByteSerializer (de)serializes Byte objects.
- ByteSerializer() - Constructor for class org.djutils.data.serialization.ByteSerializer
C
- CharacterSerializer - Class in org.djutils.data.serialization
-
CharacterSerializer (de)serializes Character objects.
- CharacterSerializer() - Constructor for class org.djutils.data.serialization.CharacterSerializer
- Column<T> - Class in org.djutils.data
-
Column identifier and descriptor.
- Column(String, String, Class<T>) - Constructor for class org.djutils.data.Column
-
Make a new column for a table with an id, description, type.
- Column(String, String, Class<T>, String) - Constructor for class org.djutils.data.Column
-
Make a new column for a table with an id, description, type, and unit.
- CsvData - Class in org.djutils.data.csv
-
CsvData takes care of reading and writing of table data in CSV format.
D
- deserialize(Class<Boolean>, String, String) - Method in class org.djutils.data.serialization.BooleanSerializer
- deserialize(Class<Byte>, String, String) - Method in class org.djutils.data.serialization.ByteSerializer
- deserialize(Class<Character>, String, String) - Method in class org.djutils.data.serialization.CharacterSerializer
- deserialize(Class<Double>, String, String) - Method in class org.djutils.data.serialization.DoubleSerializer
- deserialize(Class<Float>, String, String) - Method in class org.djutils.data.serialization.FloatSerializer
- deserialize(Class<Integer>, String, String) - Method in class org.djutils.data.serialization.IntegerSerializer
- deserialize(Class<Long>, String, String) - Method in class org.djutils.data.serialization.LongSerializer
- deserialize(Class<Short>, String, String) - Method in class org.djutils.data.serialization.ShortSerializer
- deserialize(Class<String>, String, String) - Method in class org.djutils.data.serialization.StringSerializer
- deserialize(Class<S>, String, String) - Method in class org.djutils.data.serialization.DoubleScalarSerializer
-
Deserialize a String to the correct Scalar value.
- deserialize(Class<S>, String, String) - Method in class org.djutils.data.serialization.FloatScalarSerializer
-
Deserialize a String to the correct Scalar value.
- deserialize(Class<T>, String, String) - Method in interface org.djutils.data.serialization.TextSerializer
-
Deserialize a value from text that has been created with the corresponding serializer.
- deserialize(String) - Method in interface org.djutils.data.serialization.SpecificTextSerializer
-
Deserialize a value from text that has been created with the corresponding serializer, where the value does not have a unit, and the class is known and fixed (and not checked).
- deserialize(TextSerializer<?>, String, Column<?>) - Static method in interface org.djutils.data.serialization.TextSerializer
-
Helper function to deal with casting when calling
TextSerializer.deserialize()
. - DoubleScalarSerializer<U extends org.djunits.unit.Unit<U>,
S extends org.djunits.value.vdouble.scalar.base.DoubleScalar<U, S>> - Class in org.djutils.data.serialization -
DoubleScalarSerializer (de)serializes DJUNITS double scalars.
- DoubleScalarSerializer() - Constructor for class org.djutils.data.serialization.DoubleScalarSerializer
- DoubleSerializer - Class in org.djutils.data.serialization
-
DoubleSerializer (de)serializes Double objects.
- DoubleSerializer() - Constructor for class org.djutils.data.serialization.DoubleSerializer
E
- equals(Object) - Method in class org.djutils.data.Column
- equals(Object) - Method in class org.djutils.data.Row
F
- FloatScalarSerializer<U extends org.djunits.unit.Unit<U>,
S extends org.djunits.value.vfloat.scalar.base.FloatScalar<U, S>> - Class in org.djutils.data.serialization -
FloatScalarSerializer (de)serializes DJUNITS float scalars.
- FloatScalarSerializer() - Constructor for class org.djutils.data.serialization.FloatScalarSerializer
- FloatSerializer - Class in org.djutils.data.serialization
-
FloatSerializer (de)serializes Float objects.
- FloatSerializer() - Constructor for class org.djutils.data.serialization.FloatSerializer
G
- getColumn(int) - Method in class org.djutils.data.Table
-
Return a specific column.
- getColumnDataTypes() - Method in class org.djutils.data.Table
-
Return the column data types as a Class<?
- getColumnDataTypeStrings() - Method in class org.djutils.data.Table
-
Return the column data types as a String[].
- getColumnDescriptions() - Method in class org.djutils.data.Table
-
Return the column descriptions as a String[].
- getColumnIds() - Method in class org.djutils.data.Table
-
Return the column ids as a String[].
- getColumnNumber(String) - Method in class org.djutils.data.Table
-
Returns the number of the column with given id.
- getColumnNumber(Column<?>) - Method in class org.djutils.data.Table
-
Returns the number of the column in this table.
- getColumns() - Method in class org.djutils.data.Table
-
Returns the list of columns.
- getDescription() - Method in class org.djutils.data.Column
-
Returns the column description.
- getDescription() - Method in class org.djutils.data.Table
-
Returns the description.
- getId() - Method in class org.djutils.data.Column
- getId() - Method in class org.djutils.data.Table
- getNumberOfColumns() - Method in class org.djutils.data.Table
-
Returns the number of columns.
- getUnit() - Method in class org.djutils.data.Column
-
Returns the unit of the column.
- getValue(int) - Method in class org.djutils.data.Row
-
Returns the column value in this row.
- getValue(String) - Method in class org.djutils.data.Row
-
Returns the column value in this row.
- getValue(Column<T>) - Method in class org.djutils.data.Row
-
Returns the column value in this row.
- getValues() - Method in class org.djutils.data.Row
-
Returns the column values of this record in the natural order of the columns.
- getValueType() - Method in class org.djutils.data.Column
-
Returns the type of the values in the column.
H
- hashCode() - Method in class org.djutils.data.Column
- hashCode() - Method in class org.djutils.data.Row
I
- IntegerSerializer - Class in org.djutils.data.serialization
-
IntegerSerializer (de)serializes Integer objects.
- IntegerSerializer() - Constructor for class org.djutils.data.serialization.IntegerSerializer
- isEmpty() - Method in class org.djutils.data.ListTable
- isEmpty() - Method in class org.djutils.data.Table
-
Returns whether the table is empty.
- iterator() - Method in class org.djutils.data.ListTable
J
- JsonData - Class in org.djutils.data.json
-
JsonData takes care of reading and writing of table data in JSON format.
L
- ListTable - Class in org.djutils.data
-
Table implementation that stores
Record
s in aList
. - ListTable(String, String, Collection<Column<?>>) - Constructor for class org.djutils.data.ListTable
-
Constructor.
- LongSerializer - Class in org.djutils.data.serialization
-
LongSerializer (de)serializes Long objects.
- LongSerializer() - Constructor for class org.djutils.data.serialization.LongSerializer
O
- org.djutils.data - package org.djutils.data
-
Classes for sampling simulation data.
- org.djutils.data.csv - package org.djutils.data.csv
-
The csv package takes care of reading and writing of data in csv / tsv format to/from files or streams.
- org.djutils.data.json - package org.djutils.data.json
-
The json package takes care of reading and writing of data in json format to/from files or streams.
- org.djutils.data.serialization - package org.djutils.data.serialization
-
The serialization package takes care of (de)serializing data of different types to/from Strings.
- org.djutils.data.xml - package org.djutils.data.xml
-
The xml package takes care of reading and writing of data in xml format to/from files or streams.
R
- readData(Reader) - Static method in class org.djutils.data.json.JsonData
-
Read the data from the csv-file into the data table.
- readData(Reader) - Static method in class org.djutils.data.xml.XmlData
-
Read the data from the XML-file into the data table.
- readData(Reader, Reader) - Static method in class org.djutils.data.csv.CsvData
-
Read the data from the CSV-file into the data table.
- readData(Reader, Reader) - Static method in class org.djutils.data.csv.TsvData
-
Read the data from the TSV-file into the data table.
- readData(Reader, Reader, char, char) - Static method in class org.djutils.data.csv.CsvData
-
Read the data from the CSV-file into the data table.
- readData(String) - Static method in class org.djutils.data.json.JsonData
-
Read the data from the csv-file into the data table.
- readData(String) - Static method in class org.djutils.data.xml.XmlData
-
Read the data from the XML-file into the data table.
- readData(String, String) - Static method in class org.djutils.data.csv.CsvData
-
Read the data from the CSV-file into the data table.
- readData(String, String) - Static method in class org.djutils.data.csv.TsvData
-
Read the data from the TSV-file into the data table.
- readZippedData(String, String, String) - Static method in class org.djutils.data.csv.CsvData
-
Read the data from a CSV-file inside a zip file.
- readZippedData(String, String, String) - Static method in class org.djutils.data.csv.TsvData
-
Read the data from a TSV-file inside a zip file.
- readZippedData(String, String, String, char, char) - Static method in class org.djutils.data.csv.CsvData
-
Read the data from a CSV-file inside a zip file.
- resolve(Class<?>) - Static method in interface org.djutils.data.serialization.TextSerializer
-
Resolve the correct (de)serializer for the given class, and return an instance of the (de)serializer.
- Row - Class in org.djutils.data
-
Row in a table.
- Row(Table, Object[]) - Constructor for class org.djutils.data.Row
-
Constructor.
S
- serialize(Boolean, String) - Method in class org.djutils.data.serialization.BooleanSerializer
- serialize(Byte, String) - Method in class org.djutils.data.serialization.ByteSerializer
- serialize(Character, String) - Method in class org.djutils.data.serialization.CharacterSerializer
- serialize(Double, String) - Method in class org.djutils.data.serialization.DoubleSerializer
- serialize(Float, String) - Method in class org.djutils.data.serialization.FloatSerializer
- serialize(Integer, String) - Method in class org.djutils.data.serialization.IntegerSerializer
- serialize(Long, String) - Method in class org.djutils.data.serialization.LongSerializer
- serialize(Short, String) - Method in class org.djutils.data.serialization.ShortSerializer
- serialize(String, String) - Method in class org.djutils.data.serialization.StringSerializer
- serialize(TextSerializer<?>, Object, String) - Static method in interface org.djutils.data.serialization.TextSerializer
-
Helper function to deal with casting when calling
TextSerializer.serialize()
. - serialize(S, String) - Method in class org.djutils.data.serialization.DoubleScalarSerializer
-
Serialize an Scalar value to text in such a way that it can be deserialized with the corresponding deserializer.
- serialize(S, String) - Method in class org.djutils.data.serialization.FloatScalarSerializer
-
Serialize an Scalar value to text in such a way that it can be deserialized with the corresponding deserializer.
- serialize(T) - Method in interface org.djutils.data.serialization.SpecificTextSerializer
-
Serialize a value to text in such a way that it can be deserialized with the corresponding deserializer.
- serialize(T, String) - Method in interface org.djutils.data.serialization.TextSerializer
-
Serialize a value to text in such a way that it can be deserialized with the corresponding deserializer.
- ShortSerializer - Class in org.djutils.data.serialization
-
ShortSerializer (de)serializes Short objects.
- ShortSerializer() - Constructor for class org.djutils.data.serialization.ShortSerializer
- SpecificTextSerializer<T> - Interface in org.djutils.data.serialization
-
StrictTextSerializer adds one method to the textSerializer class where it it is not necessary to specify the type for the deserialize method, since it is a specific class.
- StringSerializer - Class in org.djutils.data.serialization
-
StringSerializer (de)serializes String objects.
- StringSerializer() - Constructor for class org.djutils.data.serialization.StringSerializer
T
- Table - Class in org.djutils.data
-
Abstract table implementation taking care of the columns.
- Table(String, String, Collection<Column<?>>) - Constructor for class org.djutils.data.Table
-
Constructor.
- TextSerializationException - Exception in org.djutils.data.serialization
-
TextSerializationException is the exception thrown on errors when (de)serializing objects.
- TextSerializationException() - Constructor for exception org.djutils.data.serialization.TextSerializationException
-
Constructor for TextSerializationException.
- TextSerializationException(String) - Constructor for exception org.djutils.data.serialization.TextSerializationException
-
Constructor for TextSerializationException.
- TextSerializationException(String, Throwable) - Constructor for exception org.djutils.data.serialization.TextSerializationException
-
Constructor for TextSerializationException.
- TextSerializationException(Throwable) - Constructor for exception org.djutils.data.serialization.TextSerializationException
-
Constructor for TextSerializationException.
- TextSerializer<T> - Interface in org.djutils.data.serialization
-
TextSerializer defines the serialize and deserialize methods.
- toString() - Method in class org.djutils.data.Column
- toString() - Method in class org.djutils.data.Row
- toString() - Method in class org.djutils.data.Table
- TsvData - Class in org.djutils.data.csv
-
TsvData takes care of reading and writing of table data in Tab-Separated-Value format.
W
- writeData(Writer, Writer, Table) - Static method in class org.djutils.data.csv.CsvData
-
Write the data from the data table in CSV format.
- writeData(Writer, Writer, Table) - Static method in class org.djutils.data.csv.TsvData
-
Write the data from the data table in TSV format.
- writeData(Writer, Writer, Table, char, char, LineDelimiter) - Static method in class org.djutils.data.csv.CsvData
-
Write the data from the data table in CSV format.
- writeData(Writer, Table) - Static method in class org.djutils.data.json.JsonData
-
Write the data from the data table in JSON format.
- writeData(Writer, Table) - Static method in class org.djutils.data.xml.XmlData
-
Write the data from the data table in XML format.
- writeData(String, String, Table) - Static method in class org.djutils.data.csv.CsvData
-
Write the data from the data table in CSV format.
- writeData(String, String, Table) - Static method in class org.djutils.data.csv.TsvData
-
Write the data from the data table in TSV format.
- writeData(String, Table) - Static method in class org.djutils.data.json.JsonData
-
Write the data from the data table in JSON format.
- writeData(String, Table) - Static method in class org.djutils.data.xml.XmlData
-
Write the data from the data table in XML format.
- writeZippedData(CompressedFileWriter, String, String, Table) - Static method in class org.djutils.data.csv.CsvData
-
Write the data from the data table in CSV format.
- writeZippedData(CompressedFileWriter, String, String, Table) - Static method in class org.djutils.data.csv.TsvData
-
Write the data from the data table in TSV format.
- writeZippedData(CompressedFileWriter, String, String, Table, char, char, LineDelimiter) - Static method in class org.djutils.data.csv.CsvData
-
Write the data from the data table in CSV format.
X
- XmlData - Class in org.djutils.data.xml
-
XmlData takes care of reading and writing of table data in XML format.
All Classes and Interfaces|All Packages|Serialized Form