Class Tables


  • public class Tables
    extends java.lang.Object
    The goal of this class its to house certain calculations that are used just once and would make the Table code large and complicated if it lived there. To keep the Table code as simple as possible we need to heavily normalize all the data at construction. Taking that hit early would have no benefit if the code still lived in the Table class leaving it too complicated to digest.
    • Method Detail

      • cellsInRow

        public static java.util.stream.Stream<Data.Cell> cellsInRow​(Data.Cell[][] cells,
                                                                    int row)
      • cellsInColumn

        public static java.util.stream.Stream<Data.Cell> cellsInColumn​(Data.Cell[][] cells,
                                                                       int column)