Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members  

interchange::PlayerAddress Class Reference

A conceptual address object by which a Player can be found. More...

List of all members.

Public Methods

virtual bool equals (PlayerAddress other)=0
 Tests the address for content equality. More...

virtual int hashCode (void)=0
 Generates the hashing code for use in HashMaps and similar containers. More...

virtual String toString (void)=0
 Specialised version of Object.toString providing a meaningful string version of the player address - however implemented. More...


Detailed Description

A conceptual address object by which a Player can be found.

See also:
interchange::Player

Date:
2002/07/20 15:45:57

Author:
Warwick Molloy
Version:
Revision:
1.2

Definition at line 53 of file PlayerAddress.


Member Function Documentation

virtual bool interchange::PlayerAddress::equals PlayerAddress other [pure virtual]
 

Tests the address for content equality.

Returns:
boolean - true if equal by content not reference.
Parameters:
other   The other address being compared with.

virtual int interchange::PlayerAddress::hashCode void [pure virtual]
 

Generates the hashing code for use in HashMaps and similar containers.

Without this, the PlayerAddress will not hash as per expectation.

Returns:
integer hash code.

virtual String interchange::PlayerAddress::toString void [pure virtual]
 

Specialised version of Object.toString providing a meaningful string version of the player address - however implemented.

Returns:
String object representative of the player's address.


The documentation for this class was generated from the following file:
Generated at Tue Aug 13 14:19:39 2002 for stdnet2 by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001