|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILanguage
This interface describes the PC2 API view of a contest Language.
This documentation describes the current draft of the PC2 API, which is subject to change.
Method Summary | |
---|---|
boolean |
equals(Object obj)
Check whether this Language is the same as some other Language. |
String |
getName()
Get the name for this language as configured by the Contest Administrator. |
int |
hashCode()
Get the hashcode associated with this client. |
Method Detail |
---|
String getName()
boolean equals(Object obj)
Determination of whether two Languages are equal is based on whether they refer to the
same Language as originally created in PC2 by the Contest Administrator.
Note in particular that subsequent changes to a language definition
made by the Contest Administrator (for example,
changes to the language name, invocation command, etc.) do not affect the result of the
equals()
method; if this Language refers to the same Language as the one indicated by the
specified parameter, this method will return true regardless of whether the internal contents of the two
Language objects is identical or not.
equals
in class Object
obj
- the Language which is to be compared with this Language for equality.
int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |