Class VersionedValueCommitted<T>

    • Field Detail

      • value

        public final T value
        The current value.
    • Constructor Detail

      • VersionedValueCommitted

        VersionedValueCommitted​(T value)
    • Method Detail

      • getInstance

        static <X> VersionedValue<X> getInstance​(X value)
        Either cast to VersionedValue, or wrap in VersionedValueCommitted
        Type Parameters:
        X - type of the value to get the VersionedValue for
        Parameters:
        value - the object to cast/wrap
        Returns:
        VersionedValue instance
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object