Class RowLink1

  • All Implemented Interfaces:
    java.lang.Comparable<RowLink>

    public class RowLink1
    extends RowLink
    RowLink subclass which contains a single RowRef.
    Since:
    1 Sep 2021
    Author:
    Mark Taylor
    • Constructor Detail

      • RowLink1

        public RowLink1​(RowRef ref)
        Constructor.
        Parameters:
        ref - sole row reference
    • Method Detail

      • 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

        public RowRef getRef​(int i)
        Description copied from class: RowLink
        Returns the ith 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