net.sf.magicproject.tools
Class PairCardInt

java.lang.Object
  extended by net.sf.magicproject.tools.PairCardInt

public class PairCardInt
extends java.lang.Object

Author:
Fabrice Daugan

Field Summary
 MCard card
          The stored card instance.
 int value
          The stored value.
 
Constructor Summary
PairCardInt(MCard card, int value)
          Creates a new instance of PairCardInt
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

card

public MCard card
The stored card instance.


value

public int value
The stored value.

Constructor Detail

PairCardInt

public PairCardInt(MCard card,
                   int value)
Creates a new instance of PairCardInt

Parameters:
card -
value -
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2003-2007 Magic-Project. All Rights Reserved.