Package tools.refinery.store.map
Interface Version
- All Known Implementing Classes:
ImmutableNode
,MapTransaction
,ModelVersion
public interface Version
Interface denoting versions of
Versioned
.-
Method Summary
-
Method Details
-
hashCode
int hashCode()Hashcode should be updated in accordance with equals. -
equals
Equivalence of twoVersion
. This equivalence must satisfy the following constraint (in addition to the constraints ofObject.equals(Object)
: ifv1
andv2
areVersion
s, andv1 .equals(v2)
, thenversioned.restore(v1)
must beequals
toversioned.restore(v2)
.
-