public static <T extends Comparable<T>>Pair<Integer,T> min(T[] array){
  return min(asList(array));
}

public static < T extends Comparable < T > > Pair < Integer , T > min ( T [ ] array ) { return min ( asList ( array ) ) ; }
find the argmin and min in a array of elements that can are ordered . if the list is empty , the function returns ( - 1 , null ) .
