Class Smalls.MyDeterministicPlusFunction

  • Enclosing class:

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

      Modifier and Type Field Description
      static java.util.concurrent.atomic.AtomicInteger INSTANCE_COUNT  
    • Method Summary

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

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


        public static final java.util.concurrent.atomic.AtomicInteger INSTANCE_COUNT
    • Constructor Detail

      • MyDeterministicPlusFunction

        public MyDeterministicPlusFunction()
    • Method Detail

      • eval

        public int eval​(int x,
                        int y)