public class LongIntegerValueImpl extends IntegerValueImpl
IntegerValue.Accumulator
INVALID_NAME
Constructor and Description |
---|
LongIntegerValueImpl(long value) |
Modifier and Type | Method and Description |
---|---|
IntegerValue |
abs() |
IntegerValue |
addInteger(IntegerValue right) |
Double |
asDouble() |
Integer |
asInteger() |
Number |
asNumber() |
Object |
asObject() |
Object |
asUnboxedObject(IdResolver idResolver)
Return the unboxed representation of this value.
|
BigDecimal |
bigDecimalValue() |
BigInteger |
bigIntegerValue() |
int |
commutatedCompareToInteger(IntegerValue o) |
RealValue |
divideInteger(IntegerValue right) |
IntegerValue |
divInteger(IntegerValue right) |
double |
doubleValue() |
boolean |
equals(Object obj) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
boolean |
isUnlimitedNatural() |
long |
longValue() |
IntegerValue |
maxInteger(IntegerValue right) |
IntegerValue |
minInteger(IntegerValue right) |
IntegerValue |
modInteger(IntegerValue right) |
IntegerValue |
multiplyInteger(IntegerValue right) |
IntegerValue |
negate() |
int |
signum() |
IntegerValue |
subtractInteger(IntegerValue right) |
String |
toString() |
addReal, asEcoreObject, asIntegerValue, asRealValue, asUnlimitedNaturalValue, commutatedAdd, commutatedCompareTo, commutatedCompareToReal, commutatedDiv, commutatedDivide, commutatedMod, commutatedMultiply, commutatedSubtract, compareTo, divideReal, divUnlimited, floor, getType, getTypeId, isIntegerValue, isUnlimited, isUnlimitedNaturalValue, max, max, maxReal, maxUnlimited, min, min, minReal, minUnlimited, modUnlimited, multiplyReal, round, subtractReal
asBagValue, asCollectionValue, asElement, asMapValue, asNavigableObject, asObjectValue, asOrderedCollectionValue, asOrderedSetValue, asSequenceValue, asSetValue, asTupleValue, asUniqueCollectionValue, getTypeName, isInvalid, isUndefined, oclEquals, oclHashCode, toString
byteValue, shortValue
asBagValue, asCollectionValue, asElement, asMapValue, asNavigableObject, asObjectValue, asOrderedCollectionValue, asOrderedSetValue, asSequenceValue, asSetValue, asTupleValue, asUniqueCollectionValue, isInvalid, isUndefined, toString
oclEquals, oclHashCode
public IntegerValue abs()
public IntegerValue addInteger(IntegerValue right)
public Double asDouble()
asDouble
in interface Value
asDouble
in class NumberValueImpl
public Integer asInteger()
asInteger
in interface Value
asInteger
in class NumberValueImpl
public Number asNumber()
public Object asObject()
public Object asUnboxedObject(IdResolver idResolver)
Value
A thrown exception for an invalid OCL value.
Java-null for a null OCL value
Objects for other things, Bag/Set/OrderedSet/List for collections
public BigDecimal bigDecimalValue()
public BigInteger bigIntegerValue()
public int commutatedCompareToInteger(IntegerValue o)
public IntegerValue divInteger(IntegerValue right)
public RealValue divideInteger(IntegerValue right)
public double doubleValue()
doubleValue
in interface RealValue
doubleValue
in class Number
public float floatValue()
floatValue
in class Number
public int intValue()
intValue
in interface IntegerValue
intValue
in interface UnlimitedNaturalValue
intValue
in class Number
public boolean isUnlimitedNatural()
isUnlimitedNatural
in interface UnlimitedNaturalValue
isUnlimitedNatural
in class IntegerValueImpl
public IntegerValue maxInteger(IntegerValue right)
public IntegerValue minInteger(IntegerValue right)
public IntegerValue modInteger(IntegerValue right)
public IntegerValue multiplyInteger(IntegerValue right)
public IntegerValue negate()
public int signum()
public IntegerValue subtractInteger(IntegerValue right)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.