The data we store in each menu item object is an array containing only one element: the name of the category.
我们储存在每个菜单项对象中的数据是一个仅包含一个元素的数组:类别名。
Therefore, it makes sense to put the user object into a named collection and store it inside Pixie with a name such as user:username:<the users username>.
因此,有必要将用户对象放入命名的集合中,然后用诸如user:username:<the users username> 之类的名称将这个集合存储在 Pixie 中。
During the init method, store information used by the getter methods (like the user name) using instance variables on the application object or using WebSphere Dynamic Cache maps.
在init方法中,使用应用程序对象中的实例变量或WebSphereDynamicCache映射来存储getter方法所使用的信息(比如用户名)。
When you store things in the session object, you invoke a setAttribute method and supply a name/value pair as the two parameters; there's an example of this in block 2.
当您在会话对象中存储内容时,您会调用 setAttribute方法并提供一个名称/值对作为两个参数;block 2中有这个示例。
As its name implies, content in a database storage area is stored within a table in the P8 object store database.
顾名思义,数据库存储区域中的内容存储在P8object store数据库中的一个表中。
So in the case of an employee object, you might store their employee number, name, start date, title, salary, seniority, etc... Objects also include functions (called methods) to handle that data.
比如在雇员的对象中,你可以存进他们的雇工号,名字,起始时间,头衔,薪资,特权等等…对象也包括了一些函数(也叫做方法)去操作数据。
The Array object is used to store a set of values in a single variable name.
阵列(数组)对象用来在一单独的变量名称内存储一系列值。
The Array object is used to store a set of values in a single variable name.
阵列(数组)对象用来在一单独的变量名称内存储一系列值。
应用推荐