Class VolatileRealType<T extends RealType<T>>

All Implemented Interfaces:
Comparable<VolatileRealType<T>>, ComplexType<VolatileRealType<T>>, NumericType<VolatileRealType<T>>, RealType<VolatileRealType<T>>, Add<VolatileRealType<T>>, Div<VolatileRealType<T>>, Mul<VolatileRealType<T>>, MulFloatingPoint, SetOne, SetZero, Sub<VolatileRealType<T>>, ValueEquals<VolatileRealType<T>>, Type<VolatileRealType<T>>

public class VolatileRealType<T extends RealType<T>> extends AbstractVolatileRealType<T,VolatileRealType<T>>
Something volatile that has a value and is either VALID or INVALID.
Author:
Stephan Saalfeld
  • Constructor Details

    • VolatileRealType

      public VolatileRealType(T t, boolean valid)
    • VolatileRealType

      public VolatileRealType(T t)
  • Method Details

    • createVariable

      public VolatileRealType<T> createVariable()
      Description copied from interface: Type
      Creates a new Type variable which can only store one value.
      Returns:
      a new Type variable
    • copy

      public VolatileRealType<T> copy()
      Description copied from interface: Type
      Creates a new Type variable that has the value of this Type
      Returns:
      a new Type variable