Annotating the planet JST: JavaScript Templates
Feb 27

XOR Linked Lists in Java

Java, Tech Add comments

I really liked the XOR Linked List hack by Don Schwarz.

The sun.misc.Unsafe class is really scary, but it is interesting to know that it is there (at least on Sun JVMs).

Apart from anything else, it makes you feel happy that you don’t have to do any pointer crap anymore.

Don’t first public showing of the class was in Avoiding Checked Exceptions.

He has got a lovely twisted sense of humour! :)

One Response to “XOR Linked Lists in Java”

  1. botanical skin care Says:

    big thank

Leave a Reply

Spam is a pain, I am sorry to have to do this to you, but can you answer the question below?

Q: What are the first four letters in the word British?