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