public static class MultiHasher.HashResult extends java.util.AbstractMap<MultiHasher.HashFunc,com.google.common.hash.HashCode>
MultiHasher.| Constructor and Description |
|---|
HashResult(java.util.Map<MultiHasher.HashFunc,com.google.common.hash.HashCode> hashes) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.util.Map.Entry<MultiHasher.HashFunc,com.google.common.hash.HashCode>> |
entrySet() |
java.util.Set<MultiHasher.HashFunc> |
findInvalidHashes(MultiHasher.HashResult other)
Returns a Set of Hashes that do not match the provided
MultiHasher.HashResult. |
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, valuespublic HashResult(java.util.Map<MultiHasher.HashFunc,com.google.common.hash.HashCode> hashes)
public java.util.Set<MultiHasher.HashFunc> findInvalidHashes(MultiHasher.HashResult other)
MultiHasher.HashResult.
Any hashes missing from the provided MultiHasher.HashResult will be treated as an error.
It is not an error for this MultiHasher.HashResult to have
missing entries compared to the provided result.
other - The CompletedHashes to compare against.public java.util.Set<java.util.Map.Entry<MultiHasher.HashFunc,com.google.common.hash.HashCode>> entrySet()
entrySet in interface java.util.Map<MultiHasher.HashFunc,com.google.common.hash.HashCode>entrySet in class java.util.AbstractMap<MultiHasher.HashFunc,com.google.common.hash.HashCode>