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. plz any one send me the code for sending and recei
View Tutorial          By: ankush at 2013-09-20 07:47:27

2. Hi Gaurav, The sample in this tutorial is just a c
View Tutorial          By: Ramlak at 2009-01-28 20:00:08

3. This is a great idea if I am targeting the require
View Tutorial          By: Shanthamurthy Hanumantharayappa at 2015-09-14 16:45:22

4. nice example
View Tutorial          By: pavang at 2010-07-20 01:16:22

5. THANX FOR THE INFO....
View Tutorial          By: Abhinaykumar at 2010-07-06 11:34:53

6. sir, i am completed MCA 2011 and i want to learn P
View Tutorial          By: vipin kumar at 2011-09-13 13:00:05

7. Good start for me. At least I now know what i am s
View Tutorial          By: eoaddai at 2011-12-23 20:53:35

8. Error loading win32com: java.lang.UnsatisfiedLinkE
View Tutorial          By: Dinesh557 at 2008-09-23 04:18:47

9. Good.understand
View Tutorial          By: Selva at 2009-12-29 23:27:29

10. I need JSP Code to send SMS to mobile.
View Tutorial          By: nana at 2010-03-12 22:43:22