org.hops.dm.tad
Class nimPair

java.lang.Object
  extended by org.hops.dm.tad.nimPair
All Implemented Interfaces:
java.io.Serializable

public class nimPair
extends java.lang.Object
implements java.io.Serializable

This is an action with the PARTICIPANT that performed the action

Version:
3.0
Author:
Meritxell Gonzalez
See Also:
Serialized Form

Field Summary
 action act
          the action
 turn DP
          the dialogue participant
 
Constructor Summary
nimPair(action _act, turn _DP)
          Creates a new instance of nimPair
nimPair(nimPair a)
          Creates a new instance of nimPair and copy the nimPair input values
 
Method Summary
 java.lang.Object clone()
          Creates and returns a copy of this object.
 boolean equals(java.lang.Object o)
          Indicates whether some other object is "equal to" this one.
 boolean equalsTo(nimPair _w)
          Indicates whether a nimPair is "equal to" this one.
 int hashCode()
           
 boolean is_empty()
          Tests if this object has no values
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

act

public action act
the action


DP

public turn DP
the dialogue participant

Constructor Detail

nimPair

public nimPair(action _act,
               turn _DP)
Creates a new instance of nimPair


nimPair

public nimPair(nimPair a)
Creates a new instance of nimPair and copy the nimPair input values

Method Detail

hashCode

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

equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one.

Overrides:
equals in class java.lang.Object

equalsTo

public boolean equalsTo(nimPair _w)
Indicates whether a nimPair is "equal to" this one.


is_empty

public boolean is_empty()
Tests if this object has no values


clone

public java.lang.Object clone()
Creates and returns a copy of this object.

Overrides:
clone in class java.lang.Object

toString

public java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class java.lang.Object