Interface ElementCounter<E>


public interface ElementCounter<E>
Interface representing an object that provides a numerical count given an object of the parameterized type.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    count(E element)
    Provides the numerical count associated with the given object.
  • Method Details

    • count

      long count(E element)
      Provides the numerical count associated with the given object.