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

uk.co.openkappa.roaringbitmap.longlong.LongConsumer Maven / Gradle / Ivy

There is a newer version: 0.1.7
Show newest version
/*
 * (c) the authors Licensed under the Apache License, Version 2.0.
 */
package org.roaringbitmap.longlong;

/**
 * An LongConsumer receives the long values contained in a data structure. Each value is visited
 * once.
 * 
 * Usage:
 * 
 * 
 * {@code
 *  bitmap.forEach(new LongConsumer() {
 *
 *    public void accept(long value) {
 *      // do something here
 *      
 *    }});
 *   }
 * }
 * 
*/ public interface LongConsumer { /** * Receives the long * * @param value the long value */ void accept(long value); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy