I'm following a book example, and somehow the code doesn't seem to access a static method. I didn't really understand how the methods getMin() and getMax() are related to public static Pair minmax(double values) method. I don't think I would use such a complicated way of retrieving a maximum or a minimum although it can be useful for organizing a number of values into a single array.
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
The method minmax(double) is undefined for the type ArrayAlg