All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.ninobomba.commons.data.persistence.ICountPersistent Maven / Gradle / Ivy

The newest version!
package io.github.ninobomba.commons.data.persistence;

/**
 * The ICountPersistent interface provides a method for counting the occurrences of a given type.
 *
 * @param  the type of element to count
 */
public interface ICountPersistent < E > {

	/**
	 * Counts the occurrences of a given type.
	 *
	 * @param type the type of element to count
	 * @return the number of occurrences of the given type
	 */
	int count( E type );
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy