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



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. Hi , it was nice tutorial to understand the differ
View Tutorial          By: jagan at 2014-06-05 05:13:59

2. Hello, I'm using the above codes for my project. B
View Tutorial          By: Sandeep Dattaraju at 2011-02-26 11:01:48

3. date span progarm sorce code in jsp by using strin
View Tutorial          By: prudhvi at 2013-01-27 13:55:09

4. hi, IF ANY ONE REALLY INTRESTED TO RUN THIS PROGRA
View Tutorial          By: sunil kumar sahu at 2010-10-09 11:50:56

5. sir i want this following pattern using loops

View Tutorial          By: teju at 2015-09-13 22:46:58

6. Norman, it would be good to credit where your writ
View Tutorial          By: K&R at 2014-03-20 11:41:56

7. wehhh... so so so difficult
View Tutorial          By: sam at 2013-02-28 01:55:41

8. Can you provide some more specific application of
View Tutorial          By: Rushikesh at 2012-01-15 18:23:36

9. This works perfect for me. The only big problem is
View Tutorial          By: Eric at 2014-11-20 03:49:19

10. Turning off hostname checking also turns off all s
View Tutorial          By: eric at 2014-01-30 18:09:05