Class Vi
- java.lang.Object
-
- org.proforma.variability.transfer.V
-
- org.proforma.variability.transfer.Vis
-
- org.proforma.variability.transfer.Vi
-
- All Implemented Interfaces:
Serializable
,Comparable<V>
public class Vi extends Vis
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Vi
abs()
Vi
clone()
Long
countStepsFromThisTo(Vis other)
Vi
divideBy(long i)
boolean
equals(Object obj)
long
flooredDivideBy(Vis divisor)
static Vi
fromDouble(double d, Vp vp)
Integer
getSpec()
Class<?>
getSpecType()
protected Character
getSpecTypeSymbol()
Integer
getValue()
Class<?>
getValueType()
int
hashCode()
boolean
isSpec()
boolean
isValue()
boolean
isZero()
Vi
minus(Vis other)
Vi
modulo(long i)
Vi
plus(Vis other)
Vi
pred()
Vi
succ()
Vi
switchToSpec()
Vi
switchToValue()
Vi
times(long i)
double
toDouble()
-
Methods inherited from class org.proforma.variability.transfer.Vis
distanceTo, distanceTo, hasDivisor, isIntervalScaled, max, min, zero
-
Methods inherited from class org.proforma.variability.transfer.V
collectDefRefs, compareTo, convertToSpec, convertToValue, fromSpec, fromSpec, fromString, fromValue, fromValue, getVp, nullToString, pushInheritedCVpToChildren, setParent, setVp, toString, toString
-
-
-
-
Method Detail
-
getSpecTypeSymbol
protected Character getSpecTypeSymbol()
- Specified by:
getSpecTypeSymbol
in classV
-
flooredDivideBy
public long flooredDivideBy(Vis divisor)
- Specified by:
flooredDivideBy
in classVis
-
countStepsFromThisTo
public Long countStepsFromThisTo(Vis other)
- Specified by:
countStepsFromThisTo
in classVis
-
getSpecType
public Class<?> getSpecType()
- Specified by:
getSpecType
in classV
-
getValueType
public Class<?> getValueType()
- Specified by:
getValueType
in classV
-
switchToSpec
public Vi switchToSpec()
- Specified by:
switchToSpec
in classV
-
switchToValue
public Vi switchToValue()
- Specified by:
switchToValue
in classV
-
-