Class IntCounterSupplier

  • All Implemented Interfaces:
    java.util.function.Supplier<java.lang.Integer>

    public class IntCounterSupplier
    extends java.lang.Object
    implements java.util.function.Supplier<java.lang.Integer>
    • Constructor Summary

      Constructors 
      Constructor Description
      IntCounterSupplier​(int initialValue)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer get()  
      • Methods inherited from class java.lang.Object

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

      • IntCounterSupplier

        public IntCounterSupplier​(int initialValue)
    • Method Detail

      • get

        public java.lang.Integer get()
        Specified by:
        get in interface java.util.function.Supplier<java.lang.Integer>