Here you can find the source of areEqual(final boolean aThis, final boolean aThat)
public static boolean areEqual(final boolean aThis, final boolean aThat)
//package com.java2s; //License from project: Apache License public class Main { public static boolean areEqual(final boolean aThis, final boolean aThat) { return aThis == aThat; }/*from www.j av a 2 s. c o m*/ public static boolean areEqual(final char aThis, final char aThat) { return aThis == aThat; } public static boolean areEqual(final long aThis, final long aThat) { return aThis == aThat; } public static boolean areEqual(final float aThis, final float aThat) { return Float.floatToIntBits(aThis) == Float.floatToIntBits(aThat); } public static boolean areEqual(final double aThis, final double aThat) { return Double.doubleToLongBits(aThis) == Double.doubleToLongBits(aThat); } public static boolean areEqual(final Object aThis, final Object aThat) { if (aThis == null) { return aThat == null; } else { return aThis.equals(aThat); } } }