Package com.pnfsoftware.jeb.util.format
Class BigIntegers
java.lang.Object
com.pnfsoftware.jeb.util.format.BigIntegers
A collection of
BigInteger utility routines.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BigIntegermax(Collection<BigInteger> coll) Retrieve the greatest value in a collection of big integers.static BigIntegermin(Collection<BigInteger> coll) Retrieve the smallest value in a collection of big integers.
-
Constructor Details
-
BigIntegers
public BigIntegers()
-
-
Method Details
-
max
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
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
-