I am new to Java, I want to store an array of pair of doubles. My code looks like this:
import java.util.ArrayList; import java.util.Map.Entry; List
You could use a map to solve this.