|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 BitSet 的软件包 | |
|---|---|
| java.util | 包含 collection 框架、遗留的 collection 类、事件模型、日期和时间设施、国际化和各种实用工具类(字符串标记生成器、随机数生成器和位数组)。 |
| javax.swing.text.html.parser | 提供默认的 HTML 解析器以及支持类。 |
| java.util 中 BitSet 的使用 |
|---|
| 返回 BitSet 的 java.util 中的方法 | |
|---|---|
BitSet |
BitSet.get(int fromIndex,
int toIndex)
返回一个新的 BitSet,它由此 BitSet 中从 fromIndex(包括)到 toIndex(不包括)范围内的位组成。 |
| 参数类型为 BitSet 的 java.util 中的方法 | |
|---|---|
void |
BitSet.and(BitSet set)
对此目标位 set 和参数位 set 执行逻辑与操作。 |
void |
BitSet.andNot(BitSet set)
清除此 BitSet 中所有的位,其相应的位在指定的 BitSet 中已设置。 |
boolean |
BitSet.intersects(BitSet set)
如果指定的 BitSet 中有设置为 true 的位,并且在此 BitSet 中也将其设置为 true,则返回 ture。 |
void |
BitSet.or(BitSet set)
对此位 set 和位 set 参数执行逻辑或操作。 |
void |
BitSet.xor(BitSet set)
对此位 set 和位 set 参数执行逻辑异或操作。 |
| javax.swing.text.html.parser 中 BitSet 的使用 |
|---|
| 声明为 BitSet 的 javax.swing.text.html.parser 中的字段 | |
|---|---|
BitSet |
Element.exclusions
|
BitSet |
Element.inclusions
|
| 参数类型为 BitSet 的 javax.swing.text.html.parser 中的方法 | |
|---|---|
Element |
DTD.defineElement(String name,
int type,
boolean omitStart,
boolean omitEnd,
ContentModel content,
BitSet exclusions,
BitSet inclusions,
AttributeList atts)
返回与指定参数匹配的 Element。 |
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。