Package tools.refinery.store.map
Interface AnyVersionedMap
- All Superinterfaces:
Versioned
- All Known Subinterfaces:
VersionedMap<K,
V>
- All Known Implementing Classes:
VersionedMapDeltaImpl
,VersionedMapStateImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks the integrity of the map, and throws an exception if an inconsistency is detected.boolean
contentEquals
(AnyVersionedMap other) int
boolean
Deprecated.long
getSize()
int
hashCode()
Deprecated.AnyVersionedMap
instances are mutable, and it is inappropriate to use them as keys in hash-based collections.
-
Method Details
-
getSize
long getSize() -
contentHashCode
-
contentEquals
-
hashCode
Deprecated.AnyVersionedMap
instances are mutable, and it is inappropriate to use them as keys in hash-based collections. UsecontentHashCode(ContentHashCode)
to compute ahashCode
for aAnyVersionedMap
instance according to its contents.Returns a hash code value for the object. -
equals
Deprecated.AnyVersionedMap
instances are mutable, and it is inappropriate to use them as keys in hash-based collections. UsecontentEquals(AnyVersionedMap)
to compare twoAnyVersionedMap
instances by their contents.Compares two objects by reference. -
checkIntegrity
void checkIntegrity()Checks the integrity of the map, and throws an exception if an inconsistency is detected.
-
AnyVersionedMap
instances are mutable, and it is inappropriate to use them as keys in hash-based collections.