|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.util.ObjectUtils.HashCode
public static class ObjectUtils.HashCode
Hash code creator for objects.
| Constructor Summary | |
|---|---|
ObjectUtils.HashCode()
|
|
| Method Summary | |
|---|---|
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(Object value)
Adds an object to the hash, using Object.hashCode(). |
void |
addIdentical(List<?> values)
Adds a list of objects to the hash, checking if the objects implement Deduplicable. |
void |
addIdentical(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(Object[] values)
Adds an array of objects to the hash, checking if the objects implement Deduplicable. |
void |
addIdentity(Object value)
Adds an object to the hash using its identity ( System.identityHashCode). |
protected void |
addToHash(int value)
|
int |
getHashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectUtils.HashCode()
| Method Detail |
|---|
protected void addToHash(int value)
public void add(int value)
value - public void add(boolean value)
value - public void add(Object value)
Object.hashCode().
- Parameters:
value -
public void addIdentical(Object value)
Deduplicable
and using the deduplication hash code in that case.
value - public void addIdentity(Object value)
System.identityHashCode).
value - public void addIdentical(Object[] values)
Deduplicable.
values - addIdentical(Object)public void addIdentical(List<?> values)
Deduplicable.
values - addIdentical(Object)public void add(JRPropertiesMap properties)
properties - public int getHashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||