I have BitSet1 - {2,4,6,8}
and another BitSet2 - {10,20}
. How to combine the two Bitsets and get the final BitSet as {2,4,6,8,10,20}
. Please help ?
使用BitSet.or(BitSet)
可以将作为参数传递的位集中的所有元素包括到当前位集中。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.