* @param procedure the procedure to be applied. Stops iteration if the procedure returns <tt>false</tt>, otherwise continues.
* @return <tt>false</tt> if the procedure stopped before all keys where iterated over, <tt>true</tt> otherwise.
*/
public boolean forEachPair(final IntDoubleProcedure procedure) {
return forEachKey(
new IntProcedure() {
public boolean apply(int key) {
return procedure.apply(key,get(key));
}
}
);