|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.jaxb2_commons.lang.DefaultHashCodeStrategy
org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy
com.evolveum.midpoint.util.xml.DomAwareHashCodeStrategy
public class DomAwareHashCodeStrategy
Strategy for hashCode() methods used in JAXB generated code. The strategy is just returning a constant. This makes the hashing somehow less efficient if the JAXB objects differ just in the DOM parts. This this is quite unlikely under usual circumstances. However the main reason for this is to avoid namespace-related problems.
Field Summary | |
---|---|
static org.jvnet.jaxb2_commons.lang.HashCodeStrategy |
INSTANCE
|
Constructor Summary | |
---|---|
DomAwareHashCodeStrategy()
|
Method Summary | |
---|---|
protected int |
hashCodeInternal(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
int hashCode,
Object value)
|
Methods inherited from class org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy |
---|
hashCodeInternal, hashCodeInternal |
Methods inherited from class org.jvnet.jaxb2_commons.lang.DefaultHashCodeStrategy |
---|
hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static org.jvnet.jaxb2_commons.lang.HashCodeStrategy INSTANCE
Constructor Detail |
---|
public DomAwareHashCodeStrategy()
Method Detail |
---|
protected int hashCodeInternal(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, int hashCode, Object value)
hashCodeInternal
in class org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |