Package org.roaringbitmap.longlong
Interface LongConsumer
public interface LongConsumer
An LongConsumer receives the long values contained in a data structure. Each value is visited
once.
Usage:
bitmap.forEach(new LongConsumer() {
public void accept(long value) {
// do something here
}});
}
-
Method Summary
-
Method Details
-
accept
void accept(long value) Receives the long- Parameters:
value
- the long value
-