Package org.projectnessie.versioned
Interface WithHash<T>
-
- Type Parameters:
T- The underlying value that will be returned.
@Immutable public interface WithHash<T>A wrapper class that allows a value to be returned with an associated hash (a concrete ref).
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description HashgetHash()Get the value of the hash associated with this commit.TgetValue()Get the value this object wraps.static <T> WithHash<T>of(Hash hash, T value)Build a WithHash object of type T.
-