Fills all pairs satisfying a given condition into the specified lists. Fills into the lists, starting at index 0.
After this call returns the specified lists both have a new size, the number of pairs satisfying the condition.
Iteration order is guaranteed to be
identical to the order used by method
#forEachKey(IntProcedure).
Example:
IntLongProcedure condition = new IntLongProcedure() { // match even values only
public boolean apply(int key, long value) { return value%2==0; }
}
keys = (8,7,6), values = (1,2,2) --> keyList = (6,8), valueList = (2,1)