User Tools

Site Tools


stack

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
stack [2009/04/26 19:37] franckstack [2009/05/06 19:58] (current) franck
Line 203: Line 203:
   private volatile Node<T> top;   private volatile Node<T> top;
      
-  private static final AtomicReferenceFieldUpdater<Fourth<T>, Node<T>> topUpdater+  private static final AtomicReferenceFieldUpdater<Fourth, Node> topUpdater
     = AtomicReferenceFieldUpdater.newUpdater(Fourth.class, Node.class, "top");     = AtomicReferenceFieldUpdater.newUpdater(Fourth.class, Node.class, "top");
      
Line 228: Line 228:
   public void push(T element)   public void push(T element)
   {   {
-    Node node = new Node<T>(element, null);+    Node<T> node = new Node<T>(element, null);
     do     do
     {     {
stack.1240774651.txt.gz · Last modified: 2009/04/26 19:37 by franck

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki