• A dictionary display yields a new dictionary object.

    使用一个字典会生成一个新的字典对象。

    youdao

  • Listing 2 shows that a Dictionary object now has more to it.

    清单2显示Dictionary对象现在具有更多成员。

    youdao

  • The export method takes the data from a Dictionary object and writes it to an XML file.

    export方法从Dictionary对象中取得数据,并将其写入XML文件中。

    youdao

  • You know that any Dictionary object will have been initialized with the required arguments.

    所有Dictionary对象都已经用必需的参数初始化过了。

    youdao

  • As you can see, there is no need to instantiate a Dictionary object to access this property.

    正如所看到的,访问该属性无需实例化Dictionary对象。

    youdao

  • After the Dictionary object is loaded, you can look up meanings of words whose definition you need.

    加载Dictionary后就可以查看所需单词的定义了。

    youdao

  • A Dictionary object always has a get method, whether an instance of Dictionary itself or of a child class.

    Dictionary对象总是具有get方法,而不管它是Dictionary本身还是其子类的实例。

    youdao

  • To instantiate a Dictionary object, you need to pass a type string and a DictionaryIO object to its constructor.

    要实例化Dictionary对象,需要将类型字符串和DictionaryIO 对象传递给它的构造函数。

    youdao

  • The first time you encounter a Dictionary object in a calling method, you can check its type before working with it.

    在调用方法中第一次遇到Dictionary对象时,可以在使用它之前检查它的类型。

    youdao

  • The DictionaryIO class has a single method, export , which expects a Dictionary object and USES it to output a dummy message.

    dictionaryio类具有单个方法export,它接受一个Dictionary对象,并使用它来输出假消息。

    youdao

  • The constructor USES these parameters to set its own properties. Here is how you might now instantiate a Dictionary object.

    构造函数使用这些参数来设置自有属性。

    youdao

  • This class implements a dictionary, and you can add items to it or remove items from it as you would any dictionary object.

    此类实现一个字典,可以像对待任何字典对象那样从其中添加或移除项。

    youdao

  • The VirtualSystems class (Listings 4 and 5) implements methods to return all the necessary values, wrapping the dictionary object inside.

    VirtualSystems类(清单4和5)实现了返回所有必要值的方法,并封装了字典对象。

    youdao

  • One reason is that you may wish to have one DictionaryIO object work with multiple Dictionary objects and to store a separate reference to it.

    一个原因是您可能希望一个DictionaryIO对象使用多个Dictionary对象,或者希望存储该对象的单独引用。

    youdao

  • To recap, it takes data from a Dictionary object, writes it to the file system, takes data from a file, and merges it back into a Dictionary object.

    扼要重述一下,它从Dictionary对象中获取数据,将其写入文件系统,从一个文件中获取数据,将其合并回到Dictionary对象中。

    youdao

  • You may be wondering why the Dictionary object doesn't just instantiate its own DictionaryIO object, or even just handle import-export operations internally without recourse to a second object at all.

    您可能会疑惑为什么Dictionary对象不仅实例化自己的DictionaryIO对象,或者甚至在内部处理导入导出操作,而根本不求助于第二个对象。

    youdao

  • Additionally, ADC only occurs if no compression dictionary exists within the physical table data object or partition.

    此外,只有当物理表数据对象或分区中没有压缩字典时,才能运行adc。

    youdao

  • Changing these values would change the hash code, which would in turn break any hash table or dictionary that the object happened to be stored in.

    而改变那些值的同时也改变了哈希码,然后会破坏一些哈希表或者恰好储存了对象的字典。

    youdao

  • Rather than serializing the object, pull the data out of the object and put it into a dictionary. Then serialize the dictionary.

    不要序列化对象本身,而是把数据从对象中提取出来,放到一个字典里,然后再序列化那个字典。

    youdao

  • Listing 1 is a version of the Dictionary class that accepts a DictionaryIO object and stores it for later use.

    清单1是Dictionary类的一个版本,它接受一个DictionaryIO对象,并将其存储以备将来使用。

    youdao

  • The summarize method is invoked via a Dictionary instance using the object operator.

    summarize方法是通过Dictionary实例使用对象操作符调用的。

    youdao

  • To take advantage of the clear interface offered by a class, you need to know your object is actually an instance of Dictionary and not some imposter.

    要利用类提供的清晰接口,需要知道您的对象实际上是Dictionary的一个实例,而不是某个imposter。

    youdao

  • Another reason is that by passing a DictionaryIO object to Dictionary, you can take advantage of class switching, or polymorphism.

    另一个原因是通过将DictionaryIO对象传递给Dictionary,可以利用类切换或多态性。

    youdao

  • Dictionary knows only that it must have a DictionaryIO object, and that it is therefore guaranteed export and import functionality.

    Dictionary只知道它必须具有一个DictionaryIO对象,从而保证export和import的功能。

    youdao

  • Such objects have a field that points to the "Class" object that holds the dictionary for the object's type.

    这些对象都有一个指向“类”对象的字段(Field),而“类”对象属于对象类型字典里某种类型。

    youdao

  • This makes a difference when the default is a mutable object such as a list, dictionary, or instances of most classes.

    当默认值是一个可变对象,诸如链表、字典或大部分类实例时,会产生一些差异。

    youdao

  • An object that appears in a dictionary as the second part of a key-value pair. This is more specific than our previous use of the word "value".

    键值:字典中的一个对象,键值对的第二部分。这个和之前提到的值不同,在字典使用过程中指代的是键值,而不是数值。

    youdao

  • A dictionary in Objective-C is an object that holds two sets of information, a unique key and associated values, and enables you to use the key to retrieve items.

    Objective - c中的字典是一个具有两组信息(惟一的密钥和相关的值)的对象,且使您能够使用该密钥来检索条目。

    youdao

  • Most of the time, a custom object that implements only a subset — even a fairly small subset — of, for example, the methods of a built-in dict are dictionary-like enough for purposes at hand.

    大部分情况下,只实现了比如内置的dict类型的方法的一个子集——甚至是相当小的子集——的自定义对象,就足够“类-dictionary”而可以满足当前的要求。

    youdao

  • Finally, this example demonstrates that the underlying data type for a dictionary in Python is the dict object.

    最后,这个示例说明了Python中dictionary的底层数据类型是dict对象。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定