uk.co.openkappa.roaringbitmap.IntConsumer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bitrules Show documentation
Show all versions of bitrules Show documentation
Rule based classification with explicit support for ambiguity resolution
package org.roaringbitmap;
/**
* An IntConsumer receives the int values contained in a data structure.
* Each value is visited once.
*
* Usage:
*
*
* {@code
* bitmap.forEach(new IntConsumer() {
*
* public void accept(int value) {
* // do something here
*
* }});
* }
* }
*
*/
public interface IntConsumer {
/**
* Receives the integer
*
* @param value the integer value
*/
void accept(int value);
}