- All Implemented Interfaces:
Comparable<RowLink>
public class RowLink1
extends RowLink
RowLink subclass which contains a single RowRef.
- Since:
- 1 Sep 2021
- Author:
- Mark Taylor
-
Constructor Summary
Constructors
-
Method Summary
Returns the i
th row ref in this ordered
sequence of refs.
int
Returns the number of rows linked by this object.
-
Constructor Details
-
RowLink1
Constructor.
- Parameters:
ref
- sole row reference
-
Method Details
-
size
public int size()
Description copied from class: RowLink
Returns the number of rows linked by this object.
- Specified by:
size
in class RowLink
- Returns:
- number of RowRefs
-
getRef
Description copied from class: RowLink
Returns the i
th row ref in this ordered
sequence of refs. The sequence must be as defined by
RowRef.compareTo
.
- Specified by:
getRef
in class RowLink
- Parameters:
i
- index
- Returns:
- RowRef at
i