Package org.djutils.data
Class Row
java.lang.Object
org.djutils.data.Row
Row in a table.
Copyright (c) 2020-2025 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUTILS License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetValue(int columnNumber) Returns the column value in this row.Returns the column value in this row.<T> TReturns the column value in this row.Object[]Returns the column values of this record in the natural order of the columns.inthashCode()toString()
-
Constructor Details
-
Row
Constructor.- Parameters:
table- table.values- values.
-
-
Method Details
-
getValue
Returns the column value in this row. For performance, usegetValue(int columnNumber).- Type Parameters:
T- value type.- Parameters:
column- column.- Returns:
- the column value in this row.
-
getValue
Returns the column value in this row. For performance, usegetValue(int columnNumber).- Parameters:
id- column id.- Returns:
- the column value in this row.
-
getValue
Returns the column value in this row.- Parameters:
columnNumber- column number.- Returns:
- the column value in this row.
-
getValues
Returns the column values of this record in the natural order of the columns.- Returns:
- the column value in this record
-
hashCode
public int hashCode() -
equals
-
toString
-