Class BigIntegers

java.lang.Object
com.pnfsoftware.jeb.util.format.BigIntegers

public class BigIntegers extends Object
A collection of BigInteger utility routines.
  • Constructor Details

    • BigIntegers

      public BigIntegers()
  • Method Details

    • max

      public static BigInteger max(Collection<BigInteger> coll)
      Retrieve the greatest value in a collection of big integers.
      Parameters:
      coll - collection to scan
      Returns:
      the greatest value, or null if the collection is empty
    • min

      public static BigInteger min(Collection<BigInteger> coll)
      Retrieve the smallest value in a collection of big integers.
      Parameters:
      coll - collection to scan
      Returns:
      the smallest value, or null if the collection is empty