Example usage for java.util.concurrent.atomic AtomicReference subclass-usage

List of usage examples for java.util.concurrent.atomic AtomicReference subclass-usage

Introduction

In this page you can find the example usage for java.util.concurrent.atomic AtomicReference subclass-usage.

Usage

From source file ConcurrentDoublyLinkedList.java

/**
 * Linked Nodes. As a minor efficiency hack, this class opportunistically
 * inherits from AtomicReference, with the atomic ref used as the "next"
 * link.
 * 
 * Nodes are in doubly-linked lists. There are three kinds of special nodes,