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

io.deephaven.engine.rowset.impl.rsp.container.ShortConsumer Maven / Gradle / Ivy

package io.deephaven.engine.rowset.impl.rsp.container;

/**
 * A ShortConsumer receives the short values contained in a data structure. Each value is visited once.
 * 

* Usage: * *

 * {@code
 * bitmap.forEach(new ShortConsumer() {
 *     public boolean accept(short value) {
 *         // do something here
 *     }
 * });
 * }
 * 
*/ public interface ShortConsumer { /** * Provides a value to this consumer. A false return value indicates that the application providing values to this * consumer should not invoke it again. * * @param value the short value * @return false if don't want any more values after this one, true otherwise. */ boolean accept(short value); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy