The user's cursor is still in the ZIP code field on the HTML form of the Web browser.
用户的指针仍在Web浏览器的Html表单的邮政区码字段中。
Simply add the lines of code shown in Listing 4 to listen for changes to the ZIP code field.
如清单4所示,只需添加几行代码就可以侦听邮政区码字段的更改。
There's not a lot of looking around, trying to find where the zip code field is or how to zoom in on a map.
用户无需做很多查找,比如查找zip代码字段在哪以及又该如何在地图上做缩放。
Modify the _form.rhtml partial to "listen" for changes to the ZIP code field and make an Ajax call to the server.
修改 _form.rhtml 片段以“侦听”邮政区码字段的更改,并向服务器发出Ajax调用。
When a user tabs out of the field and the Zip Code field loses focus, an asynchronous call is made to the server to retrieve the location data.
当用户用tab键移出此字段且ZipCode字段失去焦点时,就会向服务器发出异步调用以检索位置数据。
The characteristics of the chaotic system, such as well pseudorandom, long inscrutability, high sensibility to the initial value, make it be applied in the code field.
混沌系统具有良好的伪随机性、长期的不可预测性、对初始值的高度敏感性等特性,这就决定了混沌系统可以应用于密码学领域。
The code running on the workstation stores field values in this document that tell the agent what it should do, and the agent can write results to the same document.
运行在工作站上的代码在这个文档中存储值,这些值告诉代理应该做什么,并且代理能够将结果写到相同的文档中。
The alternative is to generate code that always checks to see if the field is resolved before finding out where the field is and then loading the value.
另外一种方法是生成一些代码,用于在查明字段的位置以前一直检查是否已经解析字段,然后加载该值。
Custom code input values reside in references or field references.
定制代码输入值在引用或者字段引用中。
Back in Part 2, I showed how reflection is many times slower than direct code for both field access and method calls.
在第2部分,我展示了无论是对于字段访问还是方法调用,反射都比直接代码慢很多倍。
Reflection also suffers a performance disadvantage when compared to calling a method or accessing a field directly in compiled code.
与直接在已编译代码中调用方法或访问字段相比,反射在性能上也处于劣势。
The following code example shows how to print the field values of all the documents in a view.
以下代码示例展示了如何在一个视图中输出所有文档的字段值。
Therefore, the code retrieves the content field and then creates a new one that is ready for indexing.
因此,此代码将检索内容字段,然后创建一个可供索引的新文档。
AOT code must therefore be generated with every static, field, class, and method reference unresolved.
AOT代码因此必须在没有解析每个静态、字段、类和方法引用的情况下生成。
Research in the field saw scientists reconstruct the genetic code of the woolly mammoth in 2008, and our Neanderthal Cousins earlier this year.
在该领域的研究中,科学家于2008年重建了披毛猛犸象的遗传密码,并在今年早些时候重建了早期智人尼安德特人的遗传密码。
The new 8-byte DIF field includes a cyclical redundancy code (CRC) to protect the data, a reference tag to protect against misdirected writes, and an application tag.
这个新的8字节dif字段包括一个循环冗余代码(CRC)用以保护数据,一个参考标签用以保护数据免遭误导写入,以及一个应用程序标签。
This program also demonstrates how static field initializers execute before the code inside an explicit type constructor.
此程序还演示了静态字段初始值设定项如何在显式类型构造函数中的代码之前执行。
As you saw earlier, the code for a static field initializer executes inside an implicit type constructor.
正如您在前面看到的那样,静态字段初始值设定项的代码在隐式类型构造函数的内部执行。
Subsequent executions, of course, will benefit from the result of patching the code so that the instance or static field, or method target, is more directly referenced.
当然,后续执行将从修补代码中获益,从而可以更直接地引用实例、静态字段或方法目标。
People don't generally live beyond 32,000 years, after all — and I think it's safe to suggest that if that does ever become a concern, you'll be able to refactor the code back to an integer field.
毕竟,通常没有人能活过32,000岁——而且我相信,即使真的有那么长寿的人,仍然可以重构代码,将该字段改回整型。
Listing 6 shows the code to create the Field component.
清单6显示了创建Field组件的代码。
This code allows the value property of the Field component to be bound to a backing bean.
这个代码允许Field组件的value属性绑定到后台bean。
You could mark the fields transient, but the class would still have to explicitly produce code to check whether a field was initialized every time a method accessed it.
可以将字段标记为transient,但是每当有方法访问一个字段时,类仍然必须显式地产生代码来检查它是否被初始化。
Second, I need to change the Person code by adding a field and the appropriate property methods to track mood, as shown in Listing 4.
第二步,我需要更改person代码,添加一个字段和一些用于跟踪情绪的属性方法,如清单4所示。
You need to include only the updated fields in the document Atom entry when updating the document; in the preceding code snippet, we updated the Price field.
在更新文档时仅需在文档Atom条目中包含已更新的字段;在上一个代码片段中,我们更新了Price字段。
If I were to copy and paste this code all around, then change the field structure of the book table, I would be in a bad way.
如果我四处拷贝和粘贴这个代码,然后修改了book表的字段结构,那么我可能就麻烦了。
When a zip code is entered into the search field, a request is passed to the Web server, which USES a PHP ODBC connection to the backend Informix database.
当向搜索字段输入某一个邮政编码后,一个请求就传向一个使用PHPODBC与后台Informix数据库连接的Web服务器。
Listing 2 shows the equivalent code that will be generated for the firstName field.
清单2展示了为firstName字段生成的访问器代码。
Listing 2 shows the equivalent code that will be generated for the firstName field.
清单2展示了为firstName字段生成的访问器代码。
应用推荐