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, statesEqualgetS, s, setSpublic 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 IISimpleHashableStateprotected boolean valuesEqual(java.lang.Object key,
java.lang.Object v1,
java.lang.Object v2)
IISimpleHashableStatevaluesEqual in class IISimpleHashableStatekey - 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