public static class ObjectUtils.HashCode
extends java.lang.Object
| Constructor and Description |
|---|
ObjectUtils.HashCode() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(boolean value)
Adds a boolean value to the hash.
|
void |
add(int value)
Adds an integer value to the hash.
|
void |
add(JRPropertiesMap properties)
Adds a set of properties to the hash.
|
void |
add(java.lang.Object value)
Adds an object to the hash, using
Object.hashCode(). |
void |
addIdentical(java.util.List<?> values)
Adds a list of objects to the hash, checking if the objects implement
Deduplicable. |
void |
addIdentical(java.lang.Object value)
Adds an object to the hash, checking whether the object implements
Deduplicable
and using the deduplication hash code in that case. |
void |
addIdentical(java.lang.Object[] values)
Adds an array of objects to the hash, checking if the objects implement
Deduplicable. |
void |
addIdentity(java.lang.Object value)
Adds an object to the hash using its identity (
System.identityHashCode). |
protected void |
addToHash(int value) |
int |
getHashCode() |
protected void addToHash(int value)
public void add(int value)
value - public void add(boolean value)
value - public void add(java.lang.Object value)
Object.hashCode().value - public void addIdentical(java.lang.Object value)
Deduplicable
and using the deduplication hash code in that case.value - public void addIdentity(java.lang.Object value)
System.identityHashCode).value - public void addIdentical(java.lang.Object[] values)
Deduplicable.values - addIdentical(Object)public void addIdentical(java.util.List<?> values)
Deduplicable.values - addIdentical(Object)public void add(JRPropertiesMap properties)
properties - public int getHashCode()
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com