public OperatorAttributes(int associativityType,int operatorPrecedence,TerminalClass precClass)
	throws IndexOutOfBoundsException
	{
		switch(associativityType)
		{
		case ASSOC_NONE:
		case ASSOC_NONASSOC:
		case ASSOC_LEFT:
		case ASSOC_RIGHT:
			this.associativityType = associativityType;
			this.operatorPrecedence = operatorPrecedence;
			this.precClass = precClass;
			return;
		default:
			throw new IndexOutOfBoundsException("Invalid associativity type");
		}
	}