void (Consumer<? super V> action) { if (k1 != null) { if (k2 != null) { if (k3 != null) { action.accept(v3); } action.accept(v2); } action.accept(v1); } for (int i = 0; i < data.length; i += 2) { Object key = data[i]; if (key != null) { @SuppressWarnings("unchecked") V v = (V)data[i + 1]; action.accept(v); } } }