public class UntypedLong extends UntypedNumber implements Serializable
Faster version of java.lang.Long
.
Constructor and Description |
---|
UntypedLong() |
UntypedLong(long value) |
UntypedLong(Long value) |
Modifier and Type | Method and Description |
---|---|
UntypedNumber |
add(UntypedNumber other) |
int |
compareTo(Object other) |
UntypedNumber |
divide(UntypedNumber other) |
double |
doubleValue() |
boolean |
equals(Object other) |
float |
floatValue() |
int |
intValue() |
long |
longValue() |
UntypedNumber |
multiply(UntypedNumber other) |
protected UntypedNumber |
opResult(double tempResult) |
UntypedNumber |
subtract(UntypedNumber other) |
String |
toString() |
byteValue, shortValue
public UntypedLong()
public UntypedLong(Long value)
public UntypedLong(long value)
public UntypedNumber add(UntypedNumber other)
add
in class UntypedNumber
public UntypedNumber multiply(UntypedNumber other)
multiply
in class UntypedNumber
public UntypedNumber subtract(UntypedNumber other)
subtract
in class UntypedNumber
public UntypedNumber divide(UntypedNumber other)
divide
in class UntypedNumber
protected UntypedNumber opResult(double tempResult)
public int compareTo(Object other)
compareTo
in interface Comparable
public float floatValue()
floatValue
in class Number
public double doubleValue()
doubleValue
in class Number
Copyright © 2014. All rights reserved.