public List < Double > x ( ) { List < Double > result = new ArrayList < Double > ( xy . size ( ) ) ; for ( Discrete . Pair pair : xy ) { result . add ( pair . x ) ; } return result ; }
Creates fills and returns a list containing the x values