public class IDMaskedHashableState extends IDSimpleHashableState
Modifier and Type | Field and Description |
---|---|
MaskedConfig |
config |
s
Constructor and Description |
---|
IDMaskedHashableState() |
IDMaskedHashableState(MaskedConfig config) |
IDMaskedHashableState(State s,
MaskedConfig 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 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, statesEqual
getS, s, setS
public MaskedConfig config
public IDMaskedHashableState()
public IDMaskedHashableState(MaskedConfig config)
public IDMaskedHashableState(State s, MaskedConfig config)
protected int computeOOHashCode(OOState s)
computeOOHashCode
in class IDSimpleHashableState
protected void appendHashCodeForValue(org.apache.commons.lang3.builder.HashCodeBuilder hashCodeBuilder, java.lang.Object key, java.lang.Object value)
appendHashCodeForValue
in class IDSimpleHashableState
protected boolean ooStatesEqual(OOState s1, OOState s2)
ooStatesEqual
in class IDSimpleHashableState
protected boolean valuesEqual(java.lang.Object key, java.lang.Object v1, java.lang.Object v2)
IDSimpleHashableState
valuesEqual
in class IDSimpleHashableState
key
- the state variable keyv1
- the first value to comparev2
- the second value to compare