public final void add(final T value) { final Node<T> n = new Node<T>(value); getAndSet(n).setNext(n); }
/** * Add an element to the head of the queue. * * This method can be used from any thread. * * @param value the element to be added; must not be null */ public final void add(final T value) { final Node<T> n = new Node<T>(value); getAndSet(n).setNext(n); }
protected AbstractNodeQueue() { final Node<T> n = new Node<T>(); _tailDoNotCallMeDirectly = n; set(n); }
protected AbstractNodeQueue() { final Node<T> n = new Node<T>(); _tailDoNotCallMeDirectly = n; set(n); }
protected AbstractNodeQueue() { final Node<T> n = new Node<T>(); _tailDoNotCallMeDirectly = n; set(n); }
public final void add(final T value) { final Node<T> n = new Node<T>(value); getAndSet(n).setNext(n); }
protected AbstractNodeQueue() { final Node<T> n = new Node<T>(); _tailDoNotCallMeDirectly = n; set(n); }
/** * Add an element to the head of the queue. * * This method can be used from any thread. * * @param value the element to be added; must not be null */ public final void add(final T value) { final Node<T> n = new Node<T>(value); getAndSet(n).setNext(n); }
/** * Add an element to the head of the queue. * * This method can be used from any thread. * * @param value the element to be added; must not be null */ public final void add(final T value) { final Node<T> n = new Node<T>(value); getAndSet(n).setNext(n); }
protected AbstractNodeQueue() { final Node<T> n = new Node<T>(); _tailDoNotCallMeDirectly = n; set(n); }
/** * Add an element to the head of the queue. * * This method can be used from any thread. * * @param value the element to be added; must not be null */ public final void add(final T value) { final Node<T> n = new Node<T>(value); getAndSet(n).setNext(n); }
protected AbstractNodeQueue() { final Node<T> n = new Node<T>(); _tailDoNotCallMeDirectly = n; set(n); }
/** * Add an element to the head of the queue. * * This method can be used from any thread. * * @param value the element to be added; must not be null */ public final void add(final T value) { final Node<T> n = new Node<T>(value); getAndSet(n).setNext(n); }
protected AbstractNodeQueue() { final Node<T> n = new Node<T>(); _tailDoNotCallMeDirectly = n; set(n); }
/** * Add an element to the head of the queue. * * This method can be used from any thread. * * @param value the element to be added; must not be null */ public final void add(final T value) { final Node<T> n = new Node<T>(value); getAndSet(n).setNext(n); }
protected AbstractNodeQueue() { final Node<T> n = new Node<T>(); _tailDoNotCallMeDirectly = n; set(n); }