public class IIDiscHashableState extends IISimpleHashableState
Modifier and Type | Field and Description |
---|---|
DiscConfig |
config |
s
Constructor and Description |
---|
IIDiscHashableState() |
IIDiscHashableState(DiscConfig config) |
IIDiscHashableState(State s,
DiscConfig 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 static int |
intMultiples(double mult,
double num)
Returns int result of num / mult; that is, (int)(num / mult).
|
protected boolean |
valuesEqual(java.lang.Object key,
java.lang.Object v1,
java.lang.Object v2)
Returns whether two values are equal.
|
computeFlatHashCode, computeHashCode, computeOOHashCode, equals, flatStatesEqual, hashCode, ooStatesEqual, statesEqual
getS, s, setS
public DiscConfig config
public IIDiscHashableState()
public IIDiscHashableState(DiscConfig config)
public IIDiscHashableState(State s, DiscConfig config)
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