public class ClassInfo extends Object implements Serializable
| Constructor and Description |
|---|
ClassInfo(int classId,
String className,
Set<String> interfaceNames,
boolean equalsOverridden) |
| Modifier and Type | Method and Description |
|---|---|
int |
getClassId() |
String |
getClassName() |
Set<String> |
getInterfaceNames() |
boolean |
isEqualsOverridden()
Is the
equals(...) method overridden? |
public int getClassId()
public String getClassName()
public Set<String> getInterfaceNames()
public boolean isEqualsOverridden()
equals(...) method overridden?
Important: Object.hashCode() must always be overridden, if equals(...) is overridden and vice-versa!
In other words, either both methods or none of them must be overridden. The information provided by this method is
thus used for both methods: equals(...) and hashCode()!
If false, it is assumed that equals(...) means object-identity. This can - and will - be checked
locally by the proxy itself. Invocations of equals(...) and hashCode() are thus not delegated
to the real object, providing significant performance benefit.
If true, it is assumed that invocations of equals(...) and hashCode() must be delegated to the
real object.
equals(...) method is overridden.Copyright © 2013–2019. All rights reserved.