Modifier and Type | Method | Description |
---|---|---|
default JsInt |
JsElem.asJsInt() |
|
JsInt |
JsInt.map(IntUnaryOperator fn) |
Maps this json integer into another one.
|
JsInt |
JsInt.minus(JsInt that) |
subtract this integer from the specified one
|
static JsInt |
JsInt.of(int n) |
Static factory method to create a JsInt from an integer primitive type.
|
JsInt |
JsInt.plus(JsInt that) |
adds up this integer to the specified one
|
JsInt |
JsInt.times(JsInt that) |
multiplies this integer by the specified one
|
Modifier and Type | Method | Description |
---|---|---|
int |
JsInt.compareTo(JsInt o) |
Compares two
JsInt objects numerically. |
JsInt |
JsInt.minus(JsInt that) |
subtract this integer from the specified one
|
JsInt |
JsInt.plus(JsInt that) |
adds up this integer to the specified one
|
JsInt |
JsInt.times(JsInt that) |
multiplies this integer by the specified one
|
Copyright © 2019. All rights reserved.