public class IIDiscMaskedHashableState extends IISimpleHashableState
Modifier and Type | Field and Description |
---|---|
DiscMaskedConfig |
config |
s
Constructor and Description |
---|
IIDiscMaskedHashableState() |
IIDiscMaskedHashableState(DiscMaskedConfig config) |
IIDiscMaskedHashableState(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, statesEqual
getS, s, setS
public DiscMaskedConfig config
public IIDiscMaskedHashableState()
public IIDiscMaskedHashableState(DiscMaskedConfig config)
public IIDiscMaskedHashableState(State s, DiscMaskedConfig config)
protected int computeOOHashCode(OOState s)
computeOOHashCode
in class IISimpleHashableState
protected boolean ooStatesEqual(OOState s1, OOState s2)
ooStatesEqual
in class IISimpleHashableState
protected void appendHashCodeForValue(org.apache.commons.lang3.builder.HashCodeBuilder hashCodeBuilder, java.lang.Object key, java.lang.Object value)
appendHashCodeForValue
in class IISimpleHashableState
protected boolean valuesEqual(java.lang.Object key, java.lang.Object v1, java.lang.Object v2)
IISimpleHashableState
valuesEqual
in class IISimpleHashableState
key
- 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