public class FormattedBigInteger
extends java.math.BigInteger
BigInteger to provide a custom formatted version for display in JavaFX UI elements
which use the toString() method for date formatting.| Modifier and Type | Field and Description |
|---|---|
java.text.Format |
format
The format.
|
| Constructor and Description |
|---|
FormattedBigInteger(java.text.Format format,
byte[] value)
Construct
FormattedDate. |
| Modifier and Type | Method and Description |
|---|---|
static FormattedBigInteger |
fromBigInteger(java.text.Format format,
java.math.BigInteger number)
Create a formatted number from another number.
|
java.lang.String |
toString() |
abs, add, and, andNot, bitCount, bitLength, byteValueExact, clearBit, compareTo, divide, divideAndRemainder, doubleValue, equals, flipBit, floatValue, gcd, getLowestSetBit, hashCode, intValue, intValueExact, isProbablePrime, longValue, longValueExact, max, min, mod, modInverse, modPow, multiply, negate, nextProbablePrime, not, or, pow, probablePrime, remainder, setBit, shiftLeft, shiftRight, shortValueExact, signum, subtract, testBit, toByteArray, toString, valueOf, xorpublic FormattedBigInteger(java.text.Format format,
byte[] value)
FormattedDate.format - The Format to use for number display.value - The number value bytes.BigInteger.BigInteger(byte[])public static FormattedBigInteger fromBigInteger(java.text.Format format, java.math.BigInteger number)
If the submitted number is already of type FormattedBigInteger the instance is returned directly
otherwise the submitted number is wrapped using the submitted format.
format - The Format to use for number display.number - The number value to convert.public java.lang.String toString()
toString in class java.math.BigInteger