为每个数据元素的所有完整标记上下文创建索引项—即,并置数据元素前的每个标记。
An index entry is created for each complete tag context for each data element — that is, the concatenation of every tag leading up to the data element.
在调用parse (String, ParsePosition)前始终将ParsePosition索引重置为0。
Always reset the ParsePosition index to zero before invoking parse (String, ParsePosition).
另外,使用它时,在每次解析操作前必须将错误索引重置为- 1;否则结果将可能产生误导。
In addition, when it is used, the error index must be reset to -1 before each parse operation; otherwise the result can be misleading.
应用推荐