public abstract class IntegerValueImpl extends NumberValueImpl implements IntegerValue
IntegerValue.Accumulator
INVALID_NAME
Constructor and Description |
---|
IntegerValueImpl() |
asBagValue, asCollectionValue, asDouble, asEcoreObject, asElement, asInteger, asNavigableObject, asObjectValue, asOrderedSetValue, asSequenceValue, asSetValue, asTupleValue, asUniqueCollectionValue, getTypeName, isInvalid, isUndefined, oclEquals, oclHashCode, toString
byteValue, doubleValue, floatValue, intValue, longValue, shortValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addInteger, compareToInteger, divideInteger, divInteger, intValue, maxInteger, minInteger, modInteger, multiplyInteger, negate, subtractInteger
abs, asNumber, bigDecimalValue, bigIntegerValue, doubleValue, signum
asBagValue, asCollectionValue, asDouble, asEcoreObject, asElement, asInteger, asNavigableObject, asObject, asObjectValue, asOrderedSetValue, asSequenceValue, asSetValue, asTupleValue, asUniqueCollectionValue, isInvalid, isUndefined, toString
oclEquals, oclHashCode
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class NumberValueImpl
@NonNull public IntegerValue asIntegerValue()
asIntegerValue
in interface Value
asIntegerValue
in class NumberValueImpl
@NonNull public RealValue asRealValue()
asRealValue
in interface Value
asRealValue
in class NumberValueImpl
@NonNull public Value asUnlimitedNaturalValue()
asUnlimitedNaturalValue
in interface Value
asUnlimitedNaturalValue
in class NumberValueImpl
@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 RealValue
public int compareTo(RealValue left)
compareTo
in interface java.lang.Comparable<RealValue>
public int compareToReal(@NonNull RealValue o)
compareToReal
in interface RealValue
public int compareToUnlimited(@NonNull UnlimitedValue right)
compareToUnlimited
in interface RealValue
@NonNull public IntegerValue divUnlimited(@NonNull UnlimitedValue right)
divUnlimited
in interface IntegerValue
@NonNull public RealValue divideReal(@NonNull RealValue right)
divideReal
in interface RealValue
@NonNull public IntegerValue floor()
@NonNull public DomainType getType(@NonNull DomainStandardLibrary standardLibrary)
@NonNull public TypeId getTypeId()
Value
@Nullable public IntegerValue isIntegerValue()
isIntegerValue
in interface RealValue
public boolean isUnlimited()
isUnlimited
in interface RealValue
public boolean isUnlimitedNatural()
isUnlimitedNatural
in interface IntegerValue
@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 modUnlimited(@NonNull UnlimitedValue right)
modUnlimited
in interface IntegerValue
@NonNull public RealValue multiplyReal(@NonNull RealValue rightValue)
multiplyReal
in interface RealValue
@NonNull public IntegerValue round()
@NonNull public RealValue subtractReal(@NonNull RealValue rightValue)
subtractReal
in interface RealValue