Java Number Equal areEqual(int align, int mask)

Here you can find the source of areEqual(int align, int mask)

Description

Checks if mask is part of align Creation date: (2000-07-20 15:21:22)

License

Apache License

Parameter

Parameter Description
align int
mask int

Return

boolean

Declaration

public static boolean areEqual(int align, int mask) 

Method Source Code

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

public class Main {
    /**/*w  w  w.j a  v a  2 s .  c om*/
     * Checks if mask is part of align
     * Creation date: (2000-07-20 15:21:22)
     * @return boolean
     * @param align int
     * @param mask int
     */
    public static boolean areEqual(int align, int mask) {
        if ((align & mask) != 0)
            return true;
        return false;
    }
}

Related

  1. areEqual(double d1, double d2)
  2. areEqual(double one, double two)
  3. areEqual(final boolean aThis, final boolean aThat)
  4. areEqual(final char aThis, final char aThat)
  5. areEqual(float left, float right)
  6. areEqual(int i, int j)
  7. areEqual(int o1, int o2)
  8. areEqual(T s1, T s2)
  9. areEqual(T... elements)