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

org.roaringbitmap.IntConsumer Maven / Gradle / Ivy

Go to download

Roaring bitmaps are compressed bitmaps (also called bitsets) which tend to outperform conventional compressed bitmaps such as WAH or Concise.

There is a newer version: 1.3.0
Show newest version
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); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy