public class UnlimitedValueImpl extends NumberValueImpl implements UnlimitedValue
IntegerValue.AccumulatorINVALID_NAME| Constructor and Description |
|---|
UnlimitedValueImpl() |
asBagValue, asCollectionValue, asDouble, asEcoreObject, asElement, asInteger, asIntegerValue, asNavigableObject, asObjectValue, asOrderedSetValue, asSequenceValue, asSetValue, asTupleValue, asUniqueCollectionValue, getTypeName, isInvalid, isUndefined, oclEquals, oclHashCode, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasBagValue, asCollectionValue, asDouble, asEcoreObject, asElement, asInteger, asIntegerValue, asNavigableObject, asObjectValue, asOrderedSetValue, asSequenceValue, asSetValue, asTupleValue, asUniqueCollectionValue, isInvalid, isUndefined, toStringoclEquals, oclHashCodeprotected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class NumberValueImpl@NonNull public UnlimitedValueImpl abs()
@NonNull public IntegerValue addInteger(@NonNull IntegerValue right)
addInteger in interface IntegerValueaddInteger in interface RealValue@NonNull public RealValue asRealValue()
asRealValue in interface ValueasRealValue in class NumberValueImpl@NonNull public Value asUnlimitedNaturalValue()
asUnlimitedNaturalValue in interface ValueasUnlimitedNaturalValue in class NumberValueImpl@NonNull public java.math.BigDecimal bigDecimalValue()
bigDecimalValue in interface RealValue@NonNull public java.math.BigInteger bigIntegerValue()
bigIntegerValue in interface RealValue@NonNull public RealValue commutatedAdd(@NonNull RealValue left)
commutatedAdd in interface RealValue@NonNull public IntegerValue commutatedDiv(@NonNull IntegerValue left)
commutatedDiv in interface IntegerValue@NonNull public RealValue commutatedDivide(@NonNull RealValue left)
commutatedDivide in interface RealValue@NonNull public IntegerValue commutatedMod(@NonNull IntegerValue left)
commutatedMod in interface IntegerValue@NonNull public RealValue commutatedMultiply(@NonNull RealValue left)
commutatedMultiply in interface RealValue@NonNull public RealValue commutatedSubtract(@NonNull RealValue left)
commutatedSubtract in interface RealValuepublic int compareTo(RealValue left)
compareTo in interface java.lang.Comparable<RealValue>public int compareToInteger(@NonNull
IntegerValue right)
compareToInteger in interface IntegerValuecompareToInteger in interface RealValuepublic int compareToReal(@NonNull
RealValue right)
compareToReal in interface RealValuepublic int compareToUnlimited(@NonNull
UnlimitedValue right)
compareToUnlimited in interface RealValue@NonNull public IntegerValue divInteger(@NonNull IntegerValue right)
divInteger in interface IntegerValue@NonNull public IntegerValue divUnlimited(@NonNull UnlimitedValue right)
divUnlimited in interface IntegerValue@NonNull public RealValue divideInteger(@NonNull IntegerValue right)
divideInteger in interface IntegerValuedivideInteger in interface RealValue@NonNull public RealValue divideReal(@NonNull RealValue right)
divideReal in interface RealValuepublic double doubleValue()
doubleValue in interface RealValuedoubleValue in class java.lang.Numberpublic float floatValue()
floatValue in class java.lang.Number@NonNull public IntegerValue floor()
@NonNull public DomainType getType(@NonNull DomainStandardLibrary standardLibrary)
@NonNull public TypeId getTypeId()
Valuepublic int intValue()
intValue in interface IntegerValueintValue in class java.lang.Number@Nullable public IntegerValue isIntegerValue()
isIntegerValue in interface RealValuepublic boolean isUnlimited()
isUnlimited in interface RealValuepublic boolean isUnlimitedNatural()
isUnlimitedNatural in interface IntegerValuepublic long longValue()
longValue in class java.lang.Number@NonNull public IntegerValue maxInteger(@NonNull IntegerValue right)
maxInteger in interface IntegerValuemaxInteger in interface RealValue@NonNull public RealValue maxUnlimited(@NonNull UnlimitedValue rightValue)
maxUnlimited in interface RealValue@NonNull public RealValue minUnlimited(@NonNull UnlimitedValue rightValue)
minUnlimited in interface RealValue@NonNull public IntegerValue minInteger(@NonNull IntegerValue right)
minInteger in interface IntegerValueminInteger in interface RealValue@NonNull public IntegerValue modInteger(@NonNull IntegerValue right)
modInteger in interface IntegerValue@NonNull public IntegerValue modUnlimited(@NonNull UnlimitedValue right)
modUnlimited in interface IntegerValue@NonNull public IntegerValue multiplyInteger(@NonNull IntegerValue right)
multiplyInteger in interface IntegerValuemultiplyInteger in interface RealValue@NonNull public RealValue multiplyReal(@NonNull RealValue right)
multiplyReal in interface RealValue@NonNull public UnlimitedValue negate()
negate in interface IntegerValuenegate in interface RealValuenegate in interface UnlimitedValue@NonNull public IntegerValue round()
@NonNull public IntegerValue subtractInteger(@NonNull IntegerValue right)
subtractInteger in interface IntegerValuesubtractInteger in interface RealValue@NonNull public RealValue subtractReal(@NonNull RealValue right)
subtractReal in interface RealValuepublic java.lang.String toString()
toString in class java.lang.Object