Java util ArrayList Class - ArrayList Class in Java

Remove all elements that are less than a given value. Place all elements that are less than a given value in another array. Consider the following loop for collecting all elements that match a condition; in this case, that the element is larger than 100. ArrayList matches = new ArrayList(); for (double element : values) { ................
................