code: public static long maximum(long... values)
      {
          int len = values.length;
          long current = values[0];
  
          for (int i=1; i < len; i++)
          {
              current = Math.max(values[i], current);
          }
  
          return current;
      }
docs: Calculate the minimum value from an array of values.
  
  @param values Array of values.
  @return minimum value of the provided set.