java.lang.Object
com.espertech.esper.common.internal.epl.variable.core.CurrentValue<T>

public class CurrentValue<T> extends Object
A holder for versioned values that holds a current version-value and a prior version-value pair.
  • Constructor Details

    • CurrentValue

      public CurrentValue(VersionedValue<T> currentVersion, VersionedValue<T> priorVersion)
      Ctor.
      Parameters:
      currentVersion - current version and value
      priorVersion - prior version and value
  • Method Details

    • getCurrentVersion

      public VersionedValue<T> getCurrentVersion()
      Returns the current version.
      Returns:
      current version
    • getPriorVersion

      public VersionedValue<T> getPriorVersion()
      Returns the prior version.
      Returns:
      prior version