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
}});
}
-
方法概要
-
方法详细资料
-
accept
void accept(long value) Receives the long- 参数:
value- the long value
-