Class Misc


  • public class Misc
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Misc()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <N extends java.lang.Number>
      N
      clamp​(N min, N val, N max)  
      static <N extends java.lang.Number>
      boolean
      equality​(N a, N b, N error)  
      • Methods inherited from class java.lang.Object

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

      • Misc

        public Misc()
    • Method Detail

      • clamp

        public static <N extends java.lang.Number> N clamp​(N min,
                                                           N val,
                                                           N max)
      • equality

        public static <N extends java.lang.Number> boolean equality​(N a,
                                                                    N b,
                                                                    N error)