Class CurrentValue<T>
java.lang.Object
com.espertech.esper.common.internal.epl.variable.core.CurrentValue<T>
A holder for versioned values that holds a current version-value and a prior version-value pair.
-
Constructor Summary
ConstructorDescriptionCurrentValue
(VersionedValue<T> currentVersion, VersionedValue<T> priorVersion) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the current version.Returns the prior version.
-
Constructor Details
-
CurrentValue
Ctor.- Parameters:
currentVersion
- current version and valuepriorVersion
- prior version and value
-
-
Method Details
-
getCurrentVersion
Returns the current version.- Returns:
- current version
-
getPriorVersion
Returns the prior version.- Returns:
- prior version
-