Class ActionCount<T>

  • All Implemented Interfaces:
    java.util.function.Consumer<T>

    public class ActionCount<T>
    extends java.lang.Object
    implements java.util.function.Consumer<T>
    • Constructor Summary

      Constructors 
      Constructor Description
      ActionCount()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(T item)  
      long getCount()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Consumer

        andThen
    • Constructor Detail

      • ActionCount

        public ActionCount()
    • Method Detail

      • accept

        public void accept​(T item)
        Specified by:
        accept in interface java.util.function.Consumer<T>
      • getCount

        public long getCount()