public class Object
The number of methods in this class is small since each method added to this class is added to all other classes in the system.
As with all classes in the ewe.lang package, you can't reference the Object class using the full specifier of ewe.lang.Object. The ewe.lang package is implicitly imported. Instead, you should simply access the Object class like this:
Object obj = (Object)value;
Constructor and Description |
---|
Object() |
Modifier and Type | Method and Description |
---|---|
protected Object |
clone()
Create a field for field copy of this Object if this Object
implements the Cloneable interface.
|
boolean |
equals(Object other)
Returns if this object is considered equal to the other object.
|
protected void |
finalize()
This method (when overriden), will be called when the VM determines that the Object can be
garbage collected.
|
Class |
getClass()
Return a Class object that represents the class of this object.
|
int |
hashCode()
Returns a hashCode for the object.
|
void |
notify() |
void |
notifyAll() |
String |
toString()
Return a String representation of this object.
|
void |
wait() |
void |
wait(long millis) |
void |
wait(long millis,
int nanos) |
public String toString()
public final Class getClass()
public boolean equals(Object other)
other
- Another object to compare to.public int hashCode()
protected void finalize() throws Throwable
The finalize() method of a Class is only called if it overrides finalize() - the finalize() method java.lang.Object is never called by the Eve VM.
Throwable
protected Object clone() throws CloneNotSupportedException
CloneNotSupportedException
- if this Object does not implement the Cloneable interface.public final void wait() throws InterruptedException
InterruptedException
public final void wait(long millis) throws InterruptedException
InterruptedException
public final void wait(long millis, int nanos) throws InterruptedException
InterruptedException
public final void notify()
public final void notifyAll()