Class Vis
java.lang.Object
org.proforma.variability.transfer.V
org.proforma.variability.transfer.Vis
- All Implemented Interfaces:
Serializable,Comparable<V>
A variant of an interval scaled type.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Visabs()abstract Visclone()abstract LongcountStepsFromThisTo(Vis other) doubledistanceTo(V choice) doubledistanceTo(VisOrRange choice) abstract VisdivideBy(long i) abstract longflooredDivideBy(Vis divisor) static VisfromDouble(double d, Vp vp) booleanhasDivisor(Vis query) booleanabstract booleanisZero()abstract Visabstract Vismodulo(long i) abstract Visabstract Vispred()abstract Vissucc()abstract Vistimes(long i) abstract doubletoDouble()static VisMethods inherited from class org.proforma.variability.transfer.V
collectDefRefs, compareTo, convertToSpec, convertToValue, equals, fromSpec, fromSpec, fromString, fromValue, fromValue, getSpec, getSpecType, getSpecTypeSymbol, getValue, getValueType, getVp, hashCode, isSpec, isValue, nullToString, pushInheritedCVpToChildren, setParent, setVp, switchToSpec, switchToValue, toString, toString
-
Constructor Details
-
Vis
public Vis()
-
-
Method Details
-
clone
-
isIntervalScaled
public boolean isIntervalScaled()- Specified by:
isIntervalScaledin classV
-
isZero
public abstract boolean isZero() -
abs
-
plus
-
minus
-
pred
-
succ
-
times
-
divideBy
-
flooredDivideBy
-
modulo
-
toDouble
public abstract double toDouble() -
countStepsFromThisTo
-
min
-
max
-
hasDivisor
-
fromDouble
-
distanceTo
- Specified by:
distanceToin classV
-
distanceTo
-
zero
-