public static class LocalAbstractObject.DataEqualObject
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected LocalAbstractObject |
object
Encapsulated object
|
Constructor and Description |
---|
LocalAbstractObject.DataEqualObject(LocalAbstractObject object)
Creates a new instance of DataEqualObject wrapper over the specified LocalAbstractObject.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object has the same data as this one.
|
LocalAbstractObject |
get()
Returns the encapsulated object.
|
int |
hashCode()
Returns a hash code value for the object data.
|
protected final LocalAbstractObject object
public LocalAbstractObject.DataEqualObject(LocalAbstractObject object)
object
- the encapsulated objectpublic LocalAbstractObject get()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the reference object with which to compare.true
if this object is the same as the obj
argument; false
otherwise.