code: public static int getMaxValue(int... nums) {
          int max = 0;
          int last = nums.length - 1;
          for (int i = 0; i < last; i += ValueConsts.TWO_INT) {
              max = Integer.max(max, Integer.max(nums[i], nums[i + 1]));
          }
          return Integer.max(max, nums[last]);
      }
docs: 获取数组中最大值
  
  @param nums 数组
  
  @return {@link Integer}