public class Participant
extends java.lang.Object
Constructor and Description |
---|
Participant(AgentID id,
PartyRepItem strategy,
ProfileRepItem profile) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Equals is based only on the agent id.
|
AgentID |
getId() |
ProfileRepItem |
getProfile() |
PartyRepItem |
getStrategy() |
int |
hashCode() |
java.lang.String |
toString() |
public Participant(AgentID id, PartyRepItem strategy, ProfileRepItem profile)
public AgentID getId()
public PartyRepItem getStrategy()
public ProfileRepItem getProfile()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object