All Implemented Interfaces:
Serializable, Comparable<V>

public class Vi extends Vis
See Also:
  • Constructor Details

    • Vi

      public Vi()
    • Vi

      public Vi(Vp vp, Integer spec)
    • Vi

      public Vi(Vi other)
  • Method Details

    • clone

      public Vi clone()
      Specified by:
      clone in class Vis
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class V
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in class V
    • getSpecTypeSymbol

      protected Character getSpecTypeSymbol()
      Specified by:
      getSpecTypeSymbol in class V
    • isZero

      public boolean isZero()
      Specified by:
      isZero in class Vis
    • abs

      public Vi abs()
      Specified by:
      abs in class Vis
    • plus

      public Vi plus(Vis other)
      Specified by:
      plus in class Vis
    • minus

      public Vi minus(Vis other)
      Specified by:
      minus in class Vis
    • pred

      public Vi pred()
      Specified by:
      pred in class Vis
    • succ

      public Vi succ()
      Specified by:
      succ in class Vis
    • times

      public Vi times(long i)
      Specified by:
      times in class Vis
    • divideBy

      public Vi divideBy(long i)
      Specified by:
      divideBy in class Vis
    • flooredDivideBy

      public long flooredDivideBy(Vis divisor)
      Specified by:
      flooredDivideBy in class Vis
    • modulo

      public Vi modulo(long i)
      Specified by:
      modulo in class Vis
    • toDouble

      public double toDouble()
      Specified by:
      toDouble in class Vis
    • countStepsFromThisTo

      public Long countStepsFromThisTo(Vis other)
      Specified by:
      countStepsFromThisTo in class Vis
    • getSpec

      public Integer getSpec()
      Specified by:
      getSpec in class V
    • getSpecType

      public Class<?> getSpecType()
      Specified by:
      getSpecType in class V
    • getValue

      public Integer getValue()
      Specified by:
      getValue in class V
    • getValueType

      public Class<?> getValueType()
      Specified by:
      getValueType in class V
    • isSpec

      public boolean isSpec()
      Specified by:
      isSpec in class V
    • isValue

      public boolean isValue()
      Specified by:
      isValue in class V
    • switchToSpec

      public Vi switchToSpec()
      Specified by:
      switchToSpec in class V
    • switchToValue

      public Vi switchToValue()
      Specified by:
      switchToValue in class V
    • fromDouble

      public static Vi fromDouble(double d, Vp vp)