All Implemented Interfaces:
Serializable, Comparable<V>

public class Vc extends Vis
See Also:
  • Constructor Details

    • Vc

      public Vc()
    • Vc

      public Vc(Vp vp, Character spec)
    • Vc

      public Vc(Vc other)
  • Method Details

    • clone

      public Vc 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 Vc abs()
      Specified by:
      abs in class Vis
    • plus

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

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

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

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

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

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

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

      public Vc 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 Character getSpec()
      Specified by:
      getSpec in class V
    • getSpecType

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

      public Character 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 Vc switchToSpec()
      Specified by:
      switchToSpec in class V
    • switchToValue

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

      public static Vc fromDouble(double d, Vp vp)