ResouceId是一个原子字符串(string atoms), 而Atom是一个常量字符串唯一的32-bit标识符, 这可以大大加快拷贝和比较, 并且可以减少内存占用, 因为标识符字符串只保存一份.
基于12个网页-相关网页
原子是一个基本的数据,比如一个数字、字符串或者字符。
An atom is a basic piece of data, such as a number, string, or character.
XPath 2.0可以操作序列,而序列可以包含节点(所以不会丢失任何内容)以及字符串、整数和其他原子值。
XPath 2.0 works on sequences, and sequences can contain nodes (so you're not loosing anything) as well as strings, integers, and other atomic values.
把包含原子值(数字、布尔值或字符串)的变量和另一个此类变量或者文字原子值比较,希望一种类型自动转换成另一种类型。
Comparing a variable having an atomic value (number, Boolean, or string) to another such variable or a literal atomic value, and expecting the type of one to be cast automatically to the other type.
应用推荐