Java Compare BigInteger values for equality In this Java core tutorial we learn how to compare BigInteger values for equality using the java.math.BigInteger.equals() method.