agentland.resource.connect
Class Connection
java.lang.Object
|
+--agentland.resource.connect.Connection
- All Implemented Interfaces:
- Serializable
- public class Connection
- extends Object
- implements Serializable
Holds two objects. Represents a connection between from and to.
- See Also:
- Serialized Form
Connection
public Connection(Object owner,
Object from,
Object to)
from
public Object from()
to
public Object to()
owner
public Object owner()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object