Here you can find the source of maxOfSortedValues(double[] sortedValues)
public static double maxOfSortedValues(double[] sortedValues)
//package com.java2s; //License from project: Open Source License public class Main { public static double maxOfSortedValues(double[] sortedValues) { return sortedValues[sortedValues.length - 1]; }/*from w w w. java 2s.c om*/ }