Top Description Inners Fields Constructors Methods
org.glassfish.hk2.classmodel.reflect.util

public Class LinkedQueue<E>

extends Object
Class Inheritance
Imports
java.util.Iterator, java.util.concurrent.atomic.AtomicReference

Non locked based linked queue.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private AtomicReference<LinkedQueue.Node<E>>
private AtomicReference<LinkedQueue.Node<E>>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Iterator<E>
public boolean
put(E item)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

tailback to summary
private AtomicReference<LinkedQueue.Node<E>> tail

Constructor Detail

LinkedQueueback to summary
public LinkedQueue()

Method Detail

elementsback to summary
public Iterator<E> elements()
putback to summary
public boolean put(E item)
org.glassfish.hk2.classmodel.reflect.util back to summary

private Class LinkedQueue.Node<E>

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv final E
pack-priv final AtomicReference<LinkedQueue.Node<E>>

Constructor Summary

AccessConstructor and Description
pack-priv
Node(E item, LinkedQueue.Node<E> next)

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

itemback to summary
pack-priv final E item
nextback to summary
pack-priv final AtomicReference<LinkedQueue.Node<E>> next

Constructor Detail

Nodeback to summary
pack-priv Node(E item, LinkedQueue.Node<E> next)