java.lang.Object
it.auties.whatsapp.model.companion.CompanionHashState
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCompanionHashState(PatchType name) CompanionHashState(PatchType name, long version) CompanionHashState(PatchType name, long version, byte[] hash, Map<String, byte[]> indexValueMap) -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleancheckIndexEntryEquality(CompanionHashState that, String thisKey, byte[] thisValue) private booleancopy()booleanbyte[]hash()hash(byte[] hash) inthashCode()indexValueMap(Map<String, byte[]> indexValueMap) name()toNode()longversion()version(long version)
-
Field Details
-
name
-
version
private long version -
hash
private byte[] hash -
indexValueMap
-
-
Constructor Details
-
CompanionHashState
-
CompanionHashState
-
CompanionHashState
-
-
Method Details
-
toNode
-
copy
-
checkIndexEquality
-
checkIndexEntryEquality
private static boolean checkIndexEntryEquality(CompanionHashState that, String thisKey, byte[] thisValue) -
name
-
version
public long version() -
hash
public byte[] hash() -
indexValueMap
-
name
-
version
-
hash
-
indexValueMap
-
equals
-
hashCode
public int hashCode()
-