public void forEach(IntBiConsumer consumer)
    {
        int len = length();
        for (int ii=0;ii<len;ii++)
        {
            consumer.accept(ii, get(ii));
        }
    }
public void forEach ( IntBiConsumer consumer ) { int len = length ( ) ; for ( int ii = 0 ; ii < len ; ii ++ ) { consumer . accept ( ii , get ( ii ) ) ; } }
Calls consumer for each index and value
@param consumer