public class RowLinkN extends RowLink
Modifier | Constructor and Description |
---|---|
|
RowLinkN(Collection<RowRef> rows)
Constructs a RowLinkN from a collection of rows.
|
protected |
RowLinkN(RowRef[] rows)
Constructs a RowLinkN from an array of row refs which is retained
and may be modified (sorted) in place.
|
Modifier and Type | Method and Description |
---|---|
static RowLinkN |
fromModifiableArray(RowRef[] rows)
Constructs a RowLinkN from an array of row refs which is retained
and may be modified (sorted) in place.
|
RowRef |
getRef(int i)
Returns the
i th row ref in this ordered
sequence of refs. |
int |
size()
Returns the number of rows linked by this object.
|
public RowLinkN(Collection<RowRef> rows)
rows
- collection of row refs, copied and not retainedprotected RowLinkN(RowRef[] rows)
rows
- array of rows which is retained and may be modifiedpublic int size()
RowLink
public RowRef getRef(int i)
RowLink
i
th row ref in this ordered
sequence of refs. The sequence must be as defined by
RowRef.compareTo
.public static RowLinkN fromModifiableArray(RowRef[] rows)
rows
- array of rows which is retained and may be modifiedCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.