Interface IntConsumer


  • 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
          
        }});
       
     }
     
    • Method Detail

      • accept

        void accept​(int value)
        Receives the integer
        Parameters:
        value - the integer value