public interface IntConsumer
An IntConsumer receives the int values contained in a data structure.
Each value is visited once.
Usage:
bitmap.forEach(new IntConsumer() {
public void accept(int value) {
// do something here
}});
}
-
方法概要
-
方法详细资料
-
accept
void accept(int value) Receives the integer- 参数:
value- the integer value
-