com.threerings.util
Class ShallowObject

java.lang.Object
  extended by com.threerings.util.ShallowObject
Direct Known Subclasses:
Logic, Projection, SceneInfluence, ViewerEffect

public abstract class ShallowObject
extends Object

As a counterpart to DeepObject, this class does nothing except enforce the default reference semantics of Object.equals(java.lang.Object) and Object.hashCode().


Constructor Summary
ShallowObject()
           
 
Method Summary
 boolean equals(Object other)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShallowObject

public ShallowObject()
Method Detail

equals

public final boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public final int hashCode()
Overrides:
hashCode in class Object


Copyright © 2011. All Rights Reserved.