public class BigIntegerValueImpl extends IntegerValueImpl
IntegerValue.Accumulator
INVALID_NAME
Constructor and Description |
---|
BigIntegerValueImpl(BigInteger value) |
BigIntegerValueImpl(long value) |
addReal, 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 BigIntegerValueImpl(long value)
public BigIntegerValueImpl(BigInteger value)
public IntegerValue abs()
public IntegerValue addInteger(IntegerValue right)
public Double asDouble()
asDouble
in interface Value
asDouble
in class NumberValueImpl
public Object asEcoreObject(IdResolver idResolver, Class<?> instanceClass)
Value
A thrown exception for an invalid OCL value.
Java-null for a null OCL value
Objects for other things, List<?> for collections
asEcoreObject
in interface Value
asEcoreObject
in class IntegerValueImpl
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.