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 error on "serversocket", vb.net h
View Tutorial          By: stephen at 2012-07-14 19:40:03

2. this helped a lot!!!!
View Tutorial          By: karthik rk at 2012-09-04 16:32:25

3. not satisfied friend. for Socket class it asks to
View Tutorial          By: Gaurav at 2009-01-28 07:34:42

4. good code
View Tutorial          By: neha at 2011-07-02 01:46:52

5. the website is good and nice helps a lot add more
View Tutorial          By: wkkjnj at 2010-07-20 04:34:13

6. Please help here...
I tried both 0300460423

View Tutorial          By: Zafar Iqbal at 2013-04-02 20:14:29

7. I did'nt manage to run the program . I've added th
View Tutorial          By: Bull at 2012-01-01 16:28:20

8. Very good example with explaination and sample cod
View Tutorial          By: plenitude at 2010-04-15 23:55:02

9. good but not v.good. it seems the author is big fa
View Tutorial          By: Muhammad Ishaq Awan at 2014-10-29 07:00:44

10. im having errors in sPort.sendBreak in SerialConne
View Tutorial          By: mrrrc at 2013-03-18 08:54:50