public class LongLib extends Object
long
in a way that can be translated to JavaScript.Modifier and Type | Field and Description |
---|---|
protected static boolean |
RUN_IN_JVM
Allow standalone Java tests such as LongLibTest/LongLibJreTest to run this
code.
|
Modifier and Type | Method and Description |
---|---|
static com.google.gwt.lang.LongLib.LongEmul |
add(com.google.gwt.lang.LongLib.LongEmul a,
com.google.gwt.lang.LongLib.LongEmul b) |
static com.google.gwt.lang.LongLib.LongEmul |
and(com.google.gwt.lang.LongLib.LongEmul a,
com.google.gwt.lang.LongLib.LongEmul b) |
static com.google.gwt.lang.LongLib.LongEmul |
div(com.google.gwt.lang.LongLib.LongEmul a,
com.google.gwt.lang.LongLib.LongEmul b) |
static boolean |
eq(com.google.gwt.lang.LongLib.LongEmul a,
com.google.gwt.lang.LongLib.LongEmul b) |
static com.google.gwt.lang.LongLib.LongEmul |
fromDouble(double value) |
static com.google.gwt.lang.LongLib.LongEmul |
fromInt(int value) |
static long[] |
getAsLongArray(long l) |
static boolean |
gt(com.google.gwt.lang.LongLib.LongEmul a,
com.google.gwt.lang.LongLib.LongEmul b) |
static boolean |
gte(com.google.gwt.lang.LongLib.LongEmul a,
com.google.gwt.lang.LongLib.LongEmul b) |
static boolean |
lt(com.google.gwt.lang.LongLib.LongEmul a,
com.google.gwt.lang.LongLib.LongEmul b) |
static boolean |
lte(com.google.gwt.lang.LongLib.LongEmul a,
com.google.gwt.lang.LongLib.LongEmul b) |
static com.google.gwt.lang.LongLib.LongEmul |
mod(com.google.gwt.lang.LongLib.LongEmul a,
com.google.gwt.lang.LongLib.LongEmul b) |
static com.google.gwt.lang.LongLib.LongEmul |
mul(com.google.gwt.lang.LongLib.LongEmul a,
com.google.gwt.lang.LongLib.LongEmul b) |
static com.google.gwt.lang.LongLib.LongEmul |
neg(com.google.gwt.lang.LongLib.LongEmul a) |
static boolean |
neq(com.google.gwt.lang.LongLib.LongEmul a,
com.google.gwt.lang.LongLib.LongEmul b) |
static com.google.gwt.lang.LongLib.LongEmul |
not(com.google.gwt.lang.LongLib.LongEmul a) |
static com.google.gwt.lang.LongLib.LongEmul |
or(com.google.gwt.lang.LongLib.LongEmul a,
com.google.gwt.lang.LongLib.LongEmul b) |
static com.google.gwt.lang.LongLib.LongEmul |
shl(com.google.gwt.lang.LongLib.LongEmul a,
int n) |
static com.google.gwt.lang.LongLib.LongEmul |
shr(com.google.gwt.lang.LongLib.LongEmul a,
int n) |
static com.google.gwt.lang.LongLib.LongEmul |
shru(com.google.gwt.lang.LongLib.LongEmul a,
int n) |
static com.google.gwt.lang.LongLib.LongEmul |
sub(com.google.gwt.lang.LongLib.LongEmul a,
com.google.gwt.lang.LongLib.LongEmul b) |
static double |
toDouble(com.google.gwt.lang.LongLib.LongEmul a) |
static int |
toInt(com.google.gwt.lang.LongLib.LongEmul a) |
static String |
toString(com.google.gwt.lang.LongLib.LongEmul a) |
static com.google.gwt.lang.LongLib.LongEmul |
xor(com.google.gwt.lang.LongLib.LongEmul a,
com.google.gwt.lang.LongLib.LongEmul b) |
protected static boolean RUN_IN_JVM
public static com.google.gwt.lang.LongLib.LongEmul add(com.google.gwt.lang.LongLib.LongEmul a, com.google.gwt.lang.LongLib.LongEmul b)
public static com.google.gwt.lang.LongLib.LongEmul sub(com.google.gwt.lang.LongLib.LongEmul a, com.google.gwt.lang.LongLib.LongEmul b)
public static com.google.gwt.lang.LongLib.LongEmul neg(com.google.gwt.lang.LongLib.LongEmul a)
public static boolean gt(com.google.gwt.lang.LongLib.LongEmul a, com.google.gwt.lang.LongLib.LongEmul b)
public static boolean gte(com.google.gwt.lang.LongLib.LongEmul a, com.google.gwt.lang.LongLib.LongEmul b)
public static boolean lt(com.google.gwt.lang.LongLib.LongEmul a, com.google.gwt.lang.LongLib.LongEmul b)
public static boolean lte(com.google.gwt.lang.LongLib.LongEmul a, com.google.gwt.lang.LongLib.LongEmul b)
public static boolean eq(com.google.gwt.lang.LongLib.LongEmul a, com.google.gwt.lang.LongLib.LongEmul b)
public static boolean neq(com.google.gwt.lang.LongLib.LongEmul a, com.google.gwt.lang.LongLib.LongEmul b)
public static com.google.gwt.lang.LongLib.LongEmul div(com.google.gwt.lang.LongLib.LongEmul a, com.google.gwt.lang.LongLib.LongEmul b)
public static com.google.gwt.lang.LongLib.LongEmul mod(com.google.gwt.lang.LongLib.LongEmul a, com.google.gwt.lang.LongLib.LongEmul b)
public static com.google.gwt.lang.LongLib.LongEmul mul(com.google.gwt.lang.LongLib.LongEmul a, com.google.gwt.lang.LongLib.LongEmul b)
public static com.google.gwt.lang.LongLib.LongEmul not(com.google.gwt.lang.LongLib.LongEmul a)
public static com.google.gwt.lang.LongLib.LongEmul and(com.google.gwt.lang.LongLib.LongEmul a, com.google.gwt.lang.LongLib.LongEmul b)
public static com.google.gwt.lang.LongLib.LongEmul or(com.google.gwt.lang.LongLib.LongEmul a, com.google.gwt.lang.LongLib.LongEmul b)
public static com.google.gwt.lang.LongLib.LongEmul xor(com.google.gwt.lang.LongLib.LongEmul a, com.google.gwt.lang.LongLib.LongEmul b)
public static com.google.gwt.lang.LongLib.LongEmul shl(com.google.gwt.lang.LongLib.LongEmul a, int n)
public static com.google.gwt.lang.LongLib.LongEmul shr(com.google.gwt.lang.LongLib.LongEmul a, int n)
public static com.google.gwt.lang.LongLib.LongEmul shru(com.google.gwt.lang.LongLib.LongEmul a, int n)
public static com.google.gwt.lang.LongLib.LongEmul fromDouble(double value)
public static double toDouble(com.google.gwt.lang.LongLib.LongEmul a)
public static com.google.gwt.lang.LongLib.LongEmul fromInt(int value)
public static int toInt(com.google.gwt.lang.LongLib.LongEmul a)
public static String toString(com.google.gwt.lang.LongLib.LongEmul a)
public static long[] getAsLongArray(long l)
Copyright © 2018. All rights reserved.