If it is, then we can simple return, as we don't allocate the array.
如果是,那么我们可以简单的回报,因为我们不分配数组。
Most of this plug-in parser's implementation functions consist of a simple return statement.
该插件解析器的实现函数的大部分是有一个简单的返回语句组成的。
Many papers also focused on qualitative models with simple returns and provided forecasting for the rates of return.
许多论文还注重研究简易回收的定性模型,并提供回收率的预测方法。
This makes it extremely simple to save what you find with an electronic bookmark so you can return to it later.
用一个电子书签保存找到的内容使以后再次访问变得非常简单。
The following simple strategies will help you return to exercise safely after a break.
下面这些简单的策略能帮助你在中断之后安全地恢复锻炼。
As for the return type, for some services this might be a simple string — for others it might be an XML document.
至于返回类型,对某些服务来说它可能是一个简单的字符串—对其它服务来说它则可能是一个XML文档。
Is it one basically? In which case, just return a copy the list. That's the simple case.
是最基本的情况吗?在这种情况下,仅仅返回一个列表的拷贝,这是简单的情况。
Your goal is to build a simple controller that will know which model and function to run, and then return a JSON object as a response that is usable on the far end of the transaction.
您的目标是构建这样一个简单的控制器:它知道应该运行哪个模型和函数,然后返回一个JSON对象作为响应,这个响应可用于事务的远端。
To simplify this example, we'll just add a new class whose methods return some simple data.
为了简化这个示例,我们添加了一个新类,它的方法返回一些简单数据。
Listing 6 creates a scalar function that extracts a given XML element from an input document and shows how this function can be invoked in a simple SQL query to return the name of a given customer.
清单6创建一个标量函数,它从输入文档中提取出一个特定的xml元素。然后,在一个简单的SQL查询中调用此函数,从而返回给定的客户的姓名。
However, simple search queries without complex joins that return results with little or no XML tags can be much faster in SQL.
然而,无需复杂结合的简单搜索查询(返回的结果带有少量或没有XML标签)在SQL中速度更快。
I made no attempt to do anything too fancy here, but it is a useful exercise to look at how a simple template can provide a substantial return in style and organization.
我并不打算在这里做一些太花哨的事情,但查看一个简单模板如何通过样式和组织提供丰厚的回报是一个有用的练习。
In a simple case, you might build up a code catalog, provide required input types, and indicate return types.
在一个简单的案例中,您可能构建代码目录,提供必需的输入类型并指明返回类型。
No need to create an interface and stub out an entire mock object - you can strategically override that one method and return a simple mocked-out response.
无需创建接口和去掉整个模拟对象的存根—您可以有选择地重写方法并返回一个简单的模拟响应。
Although this procedure is quite simple, it helps you understand how to generate SQL-based procedures that query and return XML data using built-in wizards.
尽管该过程非常简单,但是也能帮助您理解如何使用内置向导生成基于SQL的过程来查询并返回XML数据。
So far, we have dealt only with simple parameters and return values: strings, integers, simple arrays, and the like.
至此,我们仅处理过简单的参数和返回值:字符串、整型、简单数组等等。
The reason is simple: in return for shouldering extra risk, investors require a bigger income.
原因很简单:作为承担额外风险的回报,投资者们要求更高的收入。
This is a pretty simple change that gives good return on your effort.
经过这样简单的修改,您的工作有很好的回报。
With simple HTTP messages, you can communicate with the server, and the server can return the data in XML format.
利用简单的HTTP消息,您可以与服务器通信,服务器可以返回xml格式的数据。
The response will return a simple JSON doc rather than a simple text string.
响应将返回一个简单的JSON文档而不是一个简单的文本字符串。
To put the model in simple economic terms, its search results give away, say, $1 in value, and in return (thanks to the user’s clicks) it gets 1 cent back.
换用简单的经济学表达来说,其搜索结果产生出1美元的价值,而其收益(感谢用户的单击)却只是1美分。
To keep our example simple, we also return the status value that is used to control the process flow.
为了保持示例简单,还返回用于控制流程流的状态值。
Here is an example of executing a simple command that doesn't return a set of results.
以下是执行某个不返回结果集的简单命令的例子。
The most popular life-insurance products tend to be simple: pay a premium for 10-15 years and get a return, plus protection for your family in the case of death.
最受欢迎的人寿产品往往十分简单:在10到15年中缴纳保费,就能获得收益,万一遭遇不幸,家庭还能获得额外的赔偿。
Of course, our example implementation does not return any real information but is a simple example to show the requirements of a more complex web service interface.
当然,我们的示例实现并不会返回任何实际的信息,它只不过是一个简单的示例,用于说明更为复杂的Web服务接口的要求。
The XQuery in Listing 3 illustrates a simple XQuery expression to return the title for films from the year 2002 from the XML document in Listing 1.
清单3中的XQuery演示了一个简单的XQuery表达式,用于返回从清单1中的XML文档查询到的自2002年至今的电影片名。
Example: Creating a simple script to return the number of selected files
示例:创建简单脚本来返回所选文件的数量
So, in this simple case, all that method does is create the advisor and return it (Listing 1).
因此,在这个简单示例中,这个方法所做的就是创建advisor并返回它(清单1).
MessagingBean, illustrated in Listing 4, is a simple POJO with two methods that take an order number and return order details and customer details, respectively.
清单4 所示的MessagingBean是个简单的POJO,有两个方法,都接受订单号,但是分别返回订单细节和客户细节。
MessagingBean, illustrated in Listing 4, is a simple POJO with two methods that take an order number and return order details and customer details, respectively.
清单4 所示的MessagingBean是个简单的POJO,有两个方法,都接受订单号,但是分别返回订单细节和客户细节。
应用推荐