de.kosi.model.game
Class PassBid

java.lang.Object
  |
  +--de.kosi.model.game.Bid
        |
        +--de.kosi.model.game.PassBid
All Implemented Interfaces:
java.io.Serializable

public class PassBid
extends Bid
implements java.io.Serializable

This class represents a pass announcement. Since we need exactly one PassBid instance there is a constant provided to refer to this instance.

ChangeLog:

 $Log: PassBid.java,v $
 Revision 1.1.1.1  2001/04/29 18:05:18  jiriki
 Imported sources from zola.

 Revision 1.6  2001/03/21 13:26:36  wombat
 - Removed bugs in Table
 - began implementation of stree client
 - updated documentation

 Revision 1.5  2001/03/18 17:32:04  wombat
 Changed database concept

 Revision 1.4  2001/02/09 19:26:33  login
 Doc-Update

 Revision 1.3  2001/02/07 10:28:52  login
 Updated documentation!!!!

 Revision 1.2  2001/02/06 14:37:08  login
 Updated docs


 

Version:
$Revision: 1.1.1.1 $ ($Date: 2001/04/29 18:05:18 $)
Author:
Timo, Niklas, Ole
See Also:
Serialized Form

Constructor Summary
protected PassBid()
          This constructor creates a new PassBid instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Checks whether this instance and the given argument are equal.
static PassBid getPassBid()
          This method returns the PassBid instance.
 int hashCode()
          Returns a hash code for this instance.
 java.lang.String toString()
          Returns a String representation of this bid.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PassBid

protected PassBid()
This constructor creates a new PassBid instance. Needed for serialization.
Method Detail

getPassBid

public static PassBid getPassBid()
This method returns the PassBid instance.
Returns:
The PassBid instance.

equals

public boolean equals(java.lang.Object o)
Checks whether this instance and the given argument are equal.
Overrides:
equals in class java.lang.Object
Parameters:
o - The object to compare to this instance.
Returns:
true if this instance and the argument are equal, otherwise false.

hashCode

public int hashCode()
Returns a hash code for this instance.
Overrides:
hashCode in class java.lang.Object
Returns:
A hash code for this instance.

toString

public java.lang.String toString()
Returns a String representation of this bid.
Overrides:
toString in class java.lang.Object
Returns:
String representation.