Interface ElementCounter<E> (2.48.1)

public interface ElementCounter<E>

Interface representing an object that provides a numerical count given an object of the parameterized type.

Type Parameter

Name Description
E

Methods

count(E element)

public abstract long count(E element)

Provides the numerical count associated with the given object.

Parameter
Name Description
element E
Returns
Type Description
long