|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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(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()
|
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(java.lang.Object value)
Object.hashCode().
- Parameters:
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |