Java BigInteger Calculate equal(BigInteger int1, BigInteger int2)

Here you can find the source of equal(BigInteger int1, BigInteger int2)

Description

equal

License

Open Source License

Declaration

public static boolean equal(BigInteger int1, BigInteger int2) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.math.BigInteger;

public class Main {
    public static boolean equal(BigInteger int1, BigInteger int2) {
        if (int1.compareTo(int2) == 0) {
            return true;
        }//from  w  w  w  .java 2s .c o  m
        return false;
    }
}

Related

  1. encodeInteger(BigInteger i, OutputStream os)
  2. encodeMPI(BigInteger value, boolean includeLength)
  3. encodeToBase62(BigInteger num)
  4. encodeToString(final BigInteger input)
  5. encodeURL(BigInteger id)
  6. equals(BigInteger[] a, BigInteger[] b)
  7. extractBoolean(BigInteger bi, int index)
  8. extractFloat(BigInteger bi, int start, int end, int decimal)
  9. extractInt(BigInteger bi, int start, int end)