public class IDDiscMaskedHashableState extends IDSimpleHashableState
| Modifier and Type | Field and Description |
|---|---|
DiscMaskedConfig |
config |
s| Constructor and Description |
|---|
IDDiscMaskedHashableState() |
IDDiscMaskedHashableState(DiscMaskedConfig config) |
IDDiscMaskedHashableState(State s,
DiscMaskedConfig config) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendHashCodeForValue(org.apache.commons.lang3.builder.HashCodeBuilder hashCodeBuilder,
java.lang.Object key,
java.lang.Object value) |
protected int |
computeOOHashCode(OOState s) |
protected static int |
intMultiples(double mult,
double num)
Returns int result of num / mult; that is, (int)(num / mult).
|
protected boolean |
ooStatesEqual(OOState s1,
OOState s2) |
protected boolean |
valuesEqual(java.lang.Object key,
java.lang.Object v1,
java.lang.Object v2)
Returns whether two values are equal.
|
computeFlatHashCode, computeHashCode, equals, flatStatesEqual, hashCode, statesEqualgetS, s, setSpublic DiscMaskedConfig config
public IDDiscMaskedHashableState()
public IDDiscMaskedHashableState(DiscMaskedConfig config)
public IDDiscMaskedHashableState(State s, DiscMaskedConfig config)
protected int computeOOHashCode(OOState s)
computeOOHashCode in class IDSimpleHashableStateprotected boolean ooStatesEqual(OOState s1, OOState s2)
ooStatesEqual in class IDSimpleHashableStateprotected void appendHashCodeForValue(org.apache.commons.lang3.builder.HashCodeBuilder hashCodeBuilder,
java.lang.Object key,
java.lang.Object value)
appendHashCodeForValue in class IDSimpleHashableStateprotected boolean valuesEqual(java.lang.Object key,
java.lang.Object v1,
java.lang.Object v2)
IDSimpleHashableStatevaluesEqual in class IDSimpleHashableStatekey - the state variable keyv1 - the first value to comparev2 - the second value to compareprotected static int intMultiples(double mult,
double num)
mult - the multiplenum - the number