Java Number Equal areEqual(int i, int j)

Here you can find the source of areEqual(int i, int j)

Description

Returns true if and only if given integers are equal.

License

Apache License

Parameter

Parameter Description
i a parameter
j a parameter

Declaration

public static boolean areEqual(int i, int j) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    /**//  www  .  j  av  a2  s .  c o m
     * Returns true if and only if given integers are equal. This was extracted
     * to assist in source code branch coverage.
     * 
     * @param i
     * @param j
     * @return
     */
    public static boolean areEqual(int i, int j) {
        return i == j;
    }
}

Related

  1. areEqual(double one, double two)
  2. areEqual(final boolean aThis, final boolean aThat)
  3. areEqual(final char aThis, final char aThat)
  4. areEqual(float left, float right)
  5. areEqual(int align, int mask)
  6. areEqual(int o1, int o2)
  7. areEqual(T s1, T s2)
  8. areEqual(T... elements)
  9. areEquals(boolean first, boolean second)