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. Please help I want to map the data say username an
View Tutorial          By: akshat at 2011-07-25 12:49:06

2. give some good examples very bad i dont lke dis ex
View Tutorial          By: abinaya banu at 2014-07-14 06:04:28

3. u doing good
View Tutorial          By: matsiko at 2009-04-14 08:05:00

4. Thanks For This Explanatory Tutorial .
View Tutorial          By: Pralay at 2013-06-15 03:50:26

5. Hi Daniel,

Please suggest me, inste

View Tutorial          By: Pradeep at 2013-12-05 07:35:32

6. Its Really Easy to understand............. superb
View Tutorial          By: Regina at 2010-01-06 23:38:11

7. hi,

i have a problem. I have the ti

View Tutorial          By: Felipe at 2010-02-18 05:03:51

8. thank you for this quick and easy demonstration. B
View Tutorial          By: rajesh at 2012-09-20 17:48:17

9. super article for freshers and good
View Tutorial          By: santhosh at 2011-11-03 14:32:44

10. Can you please tell me about parameter and validat
View Tutorial          By: Atul at 2010-09-08 04:48:00