|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGroup
This interface describes the PC2 API view of a contest Group. Groups can be used by the Contest Administrator to associate Teams together. For example, all teams from a certain geographical region, or with an equivalent background (say, Undergraduate vs. Graduate) can be put together in the same group. The PC2 scoring algorithm implementation can then be used to compute standings on a per-group basis.
This documentation describes the current draft of the PC2 API, which is subject to change.
Method Summary | |
---|---|
boolean |
equals(Object obj)
Check whether this Group is the same as some other Group. |
String |
getName()
Get the name of this group. |
int |
hashCode()
Get the hashcode associated with this Group. |
Method Detail |
---|
String getName()
boolean equals(Object obj)
Determination of whether two Groups are equal is based on whether they refer to the
same Group as originally created in PC2 by the Contest Administrator.
Note in particular that subsequent changes to a Group
made by the Contest Administrator (for example,
changes to the Group name) do not affect the result of the
equals()
method; if this Group refers to the same Group as the one indicated by the
specified parameter, this method will return true regardless of whether the internal contents of the two
Group objects is identical or not.
equals
in class Object
obj
- the Group which is to be compared with this Group for equality.
int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |