/**
 * 
 */
package types;

/**
 * @author Giorgio Ravera
 *
 */
public class VerboConiugato
{
	protected String valore;
	protected int tempo;
	
	/**
	 * Costruttore di default.<br />Associa una stringa a un tipo di simbolo.
	 */
	public VerboConiugato(String s, int tmp) 
	{
		valore = s;
		tempo = tmp;
	}
	
	public boolean equals(Object o)
	{
		if(o==null || !(o instanceof Symbol))
			return false;
		else if(o == this)
			return true;
		else
		{
			VerboConiugato s = (VerboConiugato)o;
			return (this.tempo==s.tempo && this.valore==s.valore );
		}
	}
}