JSettlers v1.0.6 API
Built ${date}

soc.robot
Class SOCResSetBuildTypePair

java.lang.Object
  extended bysoc.robot.SOCResSetBuildTypePair

public class SOCResSetBuildTypePair
extends java.lang.Object

this class holds a SOCResourceSet and a building type


Constructor Summary
SOCResSetBuildTypePair(SOCResourceSet rs, int bt)
          the constructor
 
Method Summary
 boolean equals(java.lang.Object anObject)
           
 int getBuildingType()
           
 SOCResourceSet getResources()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SOCResSetBuildTypePair

public SOCResSetBuildTypePair(SOCResourceSet rs,
                              int bt)
the constructor

Parameters:
rs - the resource set
bt - the building type
Method Detail

getResources

public SOCResourceSet getResources()
Returns:
the resource set

getBuildingType

public int getBuildingType()
Returns:
the building type

hashCode

public int hashCode()
Returns:
a hashcode for this pair

equals

public boolean equals(java.lang.Object anObject)
Parameters:
anObject - the object in question
Returns:
true if the argument contains the same data

toString

public java.lang.String toString()
Returns:
a human readable form of this object

JSettlers v1.0.6 API
Built ${date}