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. it worked fine in solving an algorithm assingment.
View Tutorial          By: tunde bello at 2009-11-05 06:31:28

2. Please, I need help, how can i write a program &qu
View Tutorial          By: LULU at 2012-11-23 01:34:07

3. pls help me build a jar application for sending bu
View Tutorial          By: sam at 2011-08-13 11:31:03

4. it is really BEST answer of my question.
MR

View Tutorial          By: Ramesh genwa at 2010-09-09 07:15:37

5. I have try this code.
Code has Run succeefu

View Tutorial          By: Avinash at 2010-06-07 05:38:26

6. Typecasting concept helped me alot in solving my p
View Tutorial          By: Arun at 2010-09-02 00:23:38

7. the best!! it helps me a lot.....
View Tutorial          By: shin at 2009-02-15 18:12:31

8. thanks for sharing.It's Easy to Understand
View Tutorial          By: Ganesh Abothula at 2013-01-23 10:43:55

9. good
View Tutorial          By: saravanan at 2007-03-02 23:16:00

10. hi
View Tutorial          By: raj at 2010-02-12 02:48:09