public class AdHash extends Object
Constructor and Description |
---|
AdHash() |
Modifier and Type | Method and Description |
---|---|
AdHash |
addDigest(long digest)
Add new digest to the hash value maintained in this class.
|
void |
clear() |
boolean |
equals(Object other) |
long |
getHash()
Return the long value of the hash.
|
int |
hashCode() |
AdHash |
removeDigest(long digest)
Remove the digest from the hash value.
|
String |
toString() |
public AdHash addDigest(long digest)
digest
- the value to add onpublic AdHash removeDigest(long digest)
digest
- the value to removepublic long getHash()
public void clear()
Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.