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 TypeMethodDescriptionvoidChecks the integrity of the map, and throws an exception if an inconsistency is detected.booleancontentEquals(AnyVersionedMap other) intbooleanDeprecated.longgetSize()inthashCode()Deprecated.AnyVersionedMapinstances are mutable, and it is inappropriate to use them as keys in hash-based collections.
-
Method Details
-
getSize
long getSize() -
contentHashCode
-
contentEquals
-
hashCode
Deprecated.AnyVersionedMapinstances are mutable, and it is inappropriate to use them as keys in hash-based collections. UsecontentHashCode(ContentHashCode)to compute ahashCodefor aAnyVersionedMapinstance according to its contents.Returns a hash code value for the object. -
equals
Deprecated.AnyVersionedMapinstances are mutable, and it is inappropriate to use them as keys in hash-based collections. UsecontentEquals(AnyVersionedMap)to compare twoAnyVersionedMapinstances 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.
-
AnyVersionedMapinstances are mutable, and it is inappropriate to use them as keys in hash-based collections.