Comment on Tutorial - BitSet example in Java By Lakshmi



Comment Added by : Confused

Comment Added at : 2011-08-16 14:02:06

Comment on Tutorial : BitSet example in Java By Lakshmi
Very new to Java and was hoping you could explain to me in as much detail as possible the purpose of the following code:

BitSet bitset1 = bitset.get(0, 15);
bitset1.xor(bitset.get(15, 30));
bitset1.xor(bitset.get(30, 45));
bitset1.xor(bitset.get(45, 60));
bitset1.xor(bitset.get(60, 75));
if(bitset1.isEmpty())

Thank you in advance...


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. i have created a listview and i have a button in t
View Tutorial          By: prateek at 2013-05-19 18:52:47

2. Thank you Sir.
View Tutorial          By: Dinesh at 2015-08-25 10:41:30

3. Hi..thx for the hadoop info..i m learning hadoop..
View Tutorial          By: Kirti at 2015-10-26 11:42:02

4. Thanks sir i am understand to jdbc but who will ru
View Tutorial          By: Ranjeet singh at 2012-05-04 07:40:29

5. easy.......
View Tutorial          By: Suman at 2011-07-20 07:04:28

6. Article from Java Complete Reference
View Tutorial          By: venkatesh at 2013-06-04 01:29:02

7. It is an excellent article. Please keep up the goo
View Tutorial          By: sanjay at 2011-03-09 03:17:45

8. Dear author
u missed check condition for 0(

View Tutorial          By: Maroof Ahmad at 2012-03-28 14:59:53

9. thanks for all thanks for your help good bye
View Tutorial          By: ARAS at 2010-05-14 06:50:47

10. very good explanation,very good examples..
View Tutorial          By: sra1 at 2011-11-14 08:30:47