Class InverseRowSubset


  • public class InverseRowSubset
    extends RowSubset
    RowSubset implementation which provides the complement of a base set.
    Since:
    26 Mar 2004
    Author:
    Mark Taylor (Starlink)
    • Constructor Detail

      • InverseRowSubset

        public InverseRowSubset​(RowSubset base)
        Constructor.
        Parameters:
        base - subset to be inverted
    • Method Detail

      • isIncluded

        public boolean isIncluded​(long lrow)
        Description copied from class: RowSubset
        Indicates whether a given row is in the subset or not.
        Specified by:
        isIncluded in class RowSubset
        Parameters:
        lrow - the index of the row in question
        Returns:
        true iff row lrow is to be included
      • getInvertedSubset

        public RowSubset getInvertedSubset()
        Returns the subset on which this one is based.
        Returns:
        complement of this subset