Class Grid.AboveBelow

  • Enclosing class:
    Grid

    private static class Grid.AboveBelow
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int maxAbove  
      (package private) int maxBelow  
    • Constructor Summary

      Constructors 
      Constructor Description
      AboveBelow​(int maxAbove, int maxBelow)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) int sum()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • maxAbove

        int maxAbove
      • maxBelow

        int maxBelow
    • Constructor Detail

      • AboveBelow

        AboveBelow​(int maxAbove,
                   int maxBelow)
    • Method Detail

      • sum

        int sum()