public class LongIntegerValueImpl extends IntegerValueImpl
IntegerValue.AccumulatorINVALID_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, subtractRealasBagValue, asCollectionValue, asElement, asMapValue, asNavigableObject, asObjectValue, asOrderedCollectionValue, asOrderedSetValue, asSequenceValue, asSetValue, asTupleValue, asUniqueCollectionValue, getTypeName, isInvalid, isUndefined, oclEquals, oclHashCode, toStringbyteValue, shortValueasBagValue, asCollectionValue, asElement, asMapValue, asNavigableObject, asObjectValue, asOrderedCollectionValue, asOrderedSetValue, asSequenceValue, asSetValue, asTupleValue, asUniqueCollectionValue, isInvalid, isUndefined, toStringoclEquals, oclHashCodepublic IntegerValue abs()
public IntegerValue addInteger(IntegerValue right)
public Double asDouble()
asDouble in interface ValueasDouble in class NumberValueImplpublic Integer asInteger()
asInteger in interface ValueasInteger in class NumberValueImplpublic Number asNumber()
public Object asObject()
public Object asUnboxedObject(IdResolver idResolver)
ValueA 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 RealValuedoubleValue in class Numberpublic float floatValue()
floatValue in class Numberpublic int intValue()
intValue in interface IntegerValueintValue in interface UnlimitedNaturalValueintValue in class Numberpublic boolean isUnlimitedNatural()
isUnlimitedNatural in interface UnlimitedNaturalValueisUnlimitedNatural in class IntegerValueImplpublic 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.