public interface ISite
This documentation describes the current draft of the PC2 API, which is subject to change.
String getName()
int getNumber()
boolean equals(Object obj)
Determination of whether two Sites are equal is based on whether they refer to the
same Site as originally created in PC2 by the Contest Administrator.
Note in particular that subsequent changes to a Site
made by the Contest Administrator (for example,
changes to the Site name) do not affect the result of the
equals()
method; if this Site refers to the same Site as the one indicated by the
specified parameter, this method will return true regardless of whether the internal contents of the two
Site objects is identical or not.