Interface ElementCounter<E> (2.34.1)

public interface ElementCounter<E>

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

Type Parameter

NameDescription
E

Methods

count(E element)

public abstract long count(E element)

Provides the numerical count associated with the given object.

Parameter
NameDescription
elementE
Returns
TypeDescription
long