return false;
}
return
forEachPair(
new IntShortProcedure() {
@Override
public boolean apply(int key, short value) {
return other.containsKey(key) && other.get(key) == value;
}
}
)
&&
other.forEachPair(
new IntShortProcedure() {
@Override
public boolean apply(int key, short value) {
return containsKey(key) && get(key) == value;
}
}