com.threerings.parlor.tourney.data
Class Participant

java.lang.Object
  extended by com.threerings.io.SimpleStreamableObject
      extended by com.threerings.parlor.tourney.data.Participant
All Implemented Interfaces:
Streamable, DSet.Entry, Comparable<Participant>

public class Participant
extends SimpleStreamableObject
implements DSet.Entry, Comparable<Participant>

Contains information on a particular tourney participant.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
Streamable.Closure
 
Field Summary
 Name username
          The username of the participant.
 
Constructor Summary
Participant()
           
 
Method Summary
 int compareTo(Participant op)
           
 boolean equals(Object other)
           
 Comparable<?> getKey()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class com.threerings.io.SimpleStreamableObject
toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

username

public Name username
The username of the participant.

Constructor Detail

Participant

public Participant()
Method Detail

getKey

public Comparable<?> getKey()
Specified by:
getKey in interface DSet.Entry

compareTo

public int compareTo(Participant op)
Specified by:
compareTo in interface Comparable<Participant>

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class SimpleStreamableObject