Here you can find the source of areEqual(int align, int mask)
Parameter | Description |
---|---|
align | int |
mask | int |
public static boolean areEqual(int align, int mask)
//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; } }