public abstract class ManBigIntegerExt extends java.lang.Object implements ComparableUsing<java.math.BigInteger>
BigInteger with arithmetic and relational operator implementationsComparableUsing.EqualityMode, ComparableUsing.Operator| Constructor and Description |
|---|
ManBigIntegerExt() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
compareToUsing(java.math.BigInteger thiz,
java.math.BigInteger that,
ComparableUsing.Operator op)
Implements structural interface
ComparableUsing to support relational operators == != > >= < <= |
static java.math.BigInteger |
dec(java.math.BigInteger thiz)
Supports unary decrement operator
-- |
static java.math.BigInteger |
div(java.math.BigInteger thiz,
java.math.BigInteger operand)
Supports binary operator
/ |
static java.math.BigInteger |
inc(java.math.BigInteger thiz)
Supports unary increment operator
++ |
static java.math.BigInteger |
minus(java.math.BigInteger thiz,
java.math.BigInteger operand)
Supports binary operator
- |
static java.math.BigInteger |
plus(java.math.BigInteger thiz,
java.math.BigInteger operand)
Supports binary operator
+ |
static java.math.BigInteger |
rem(java.math.BigInteger thiz,
java.math.BigInteger operand)
Supports binary operator
% |
static java.math.BigInteger |
times(java.math.BigInteger thiz,
java.math.BigInteger operand)
Supports binary operator
* |
static java.math.BigInteger |
unaryMinus(java.math.BigInteger thiz)
Supports unary prefix operator
- |
clone, equals, finalize, getClass, hashCode, jailbreak, notify, notifyAll, toString, wait, wait, waitcompareToUsing, equalityModepublic static java.math.BigInteger unaryMinus(java.math.BigInteger thiz)
-public static java.math.BigInteger inc(java.math.BigInteger thiz)
++public static java.math.BigInteger dec(java.math.BigInteger thiz)
--public static java.math.BigInteger plus(java.math.BigInteger thiz,
java.math.BigInteger operand)
+public static java.math.BigInteger minus(java.math.BigInteger thiz,
java.math.BigInteger operand)
-public static java.math.BigInteger times(java.math.BigInteger thiz,
java.math.BigInteger operand)
*public static java.math.BigInteger div(java.math.BigInteger thiz,
java.math.BigInteger operand)
/public static java.math.BigInteger rem(java.math.BigInteger thiz,
java.math.BigInteger operand)
%public static boolean compareToUsing(java.math.BigInteger thiz,
java.math.BigInteger that,
ComparableUsing.Operator op)
ComparableUsing to support relational operators == != > >= < <=Copyright © 2022. All rights reserved.