Let's take a sample trivial class for modeling users, as shown in Listing 3.
让我们用一个普通样例类(如清单3所示)来建模用户。
Let us take a sample code to see the issues faced using lazy loading and a solution to overcome it.
通过下面的示例代码来了解一下延迟加载所面对的问题及解决办法。
What you are going to do is take a sample of your data and make sure that you can easily find the position of that data on the maturity model.
下面要做的是从你的数据中取样,并确保你能从成熟度模型中轻松的为其进行定位。
When errors occur, the function generating the error can 'throw' an exception. For example, take a sample function that does division.
错误发生的时候,产生错误的函数会“抛出”一个异常。以一个做除法运算的函数为例来说明。
Essentially we can take a sample of soil or air — and in our case — water, and we can sequence the DNA out of it and tell you what is there.
从本质上讲,我们可以提取土壤或空气的样本。在这个例子中,我们提取的是水,我们可以从中测定出DNA序列,从而得知存在什么生物。
Take a sample of unencoded text, count how many times specific letters appear in the text, and sort the letters in order from most to least frequent.
获取一个未编码的文本样例,计算文本中出现特定字母的次数,然后按频率最高到最低的顺序给字母排序。
Take a sample of unencoded text, count how many times specific letters appear in the text, and sort the letters in order from most to least frequent.
获取一个未编码的文本样例,计算文本中出现特定字母的次数,然后按频率最高到最低的顺序给字母排序。
应用推荐