Class Smalls.MyDeterministicPlusFunction

  • Enclosing class:
    Smalls

    public static class Smalls.MyDeterministicPlusFunction
    extends java.lang.Object
    As Smalls.MyPlusFunction but declared to be deterministic.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.ThreadLocal<java.util.concurrent.atomic.AtomicInteger> INSTANCE_COUNT  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer eval​(java.lang.Integer x, java.lang.Integer y)  
      • Methods inherited from class java.lang.Object

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

      • INSTANCE_COUNT

        public static final java.lang.ThreadLocal<java.util.concurrent.atomic.AtomicInteger> INSTANCE_COUNT
    • Constructor Detail

      • MyDeterministicPlusFunction

        public MyDeterministicPlusFunction()
    • Method Detail

      • eval

        public java.lang.Integer eval​(java.lang.Integer x,
                                      java.lang.Integer y)