simulations.core.strategy
Class ObjectIntElement

java.lang.Object
  extended by simulations.core.strategy.ObjectIntElement

public class ObjectIntElement
extends java.lang.Object

This class describes an object used to store an object associated to an int


Constructor Summary
ObjectIntElement(java.lang.Object object, int nb)
          Creates a new instance of ObjectIntElement
 
Method Summary
 int getNb()
          Getter for property nb.
 java.lang.Object getObject()
          Getter for property object.
 void setNb(int nb)
          Setter for property nb.
 void setObject(java.lang.Object object)
          Setter for property object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectIntElement

public ObjectIntElement(java.lang.Object object,
                        int nb)
Creates a new instance of ObjectIntElement

Parameters:
object - The object
nb - The int associate to the object
Method Detail

getNb

public int getNb()
Getter for property nb.

Returns:
Value of property nb.

setNb

public void setNb(int nb)
Setter for property nb.

Parameters:
nb - New value of property nb.

getObject

public java.lang.Object getObject()
Getter for property object.

Returns:
Value of property object.

setObject

public void setObject(java.lang.Object object)
Setter for property object.

Parameters:
object - New value of property object.