Class AlgorithmNetworkSnake.ExtentionMath

  • Enclosing class:
    AlgorithmNetworkSnake

    public static class AlgorithmNetworkSnake.ExtentionMath
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ExtentionMath()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int clamp​(int val, int lowerBound, int upperBound)  
      • Methods inherited from class java.lang.Object

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

      • ExtentionMath

        public ExtentionMath()
    • Method Detail

      • clamp

        public static int clamp​(int val,
                                int lowerBound,
                                int upperBound)