Java mean mean(int low, int high)

Here you can find the source of mean(int low, int high)

Description

Mean of two values.

License

Open Source License

Declaration

public static final int mean(int low, int high) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    /**Mean of two values.**/
    public static final int mean(int low, int high) {
        return low + ((high - low) / 2);
    }/*from w  w w.j  a  v  a  2  s  .  c o m*/

    public static final long mean(long low, long high) {
        return low + ((high - low) / 2);
    }
}

Related

  1. mean(float a, float b)
  2. mean(float[] a, int off, int length)
  3. mean(float[] arr)
  4. mean(float[] array)
  5. mean(float[] xs)
  6. mean(int N, int D, double dat[][], double mu[])
  7. mean(int... values)
  8. mean(int[] array)
  9. mean(int[] input)