Class CellGroup

  • Direct Known Subclasses:
    CellFile, CellSqr

    public abstract class CellGroup
    extends SetOfNine
    Abstract base class for all kinds of groups of related cells.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.Set<java.lang.Integer> ALL_NINE  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected CellGroup()
      Constructor.
    • Field Detail

      • ALL_NINE

        public static final java.util.Set<java.lang.Integer> ALL_NINE
    • Constructor Detail

      • CellGroup

        protected CellGroup()
        Constructor.
    • Method Detail

      • addCell

        public void addCell​(Cell cell)
        Add another Cell object to the cells of this group.
        Parameters:
        cell - a Cell object.
      • getCells

        public java.util.List<Cell> getCells()
        Returns the Cell objects in this group.
        Returns:
        a List of Cell objects.