Home » concurrent-sources » EDU.oswego.cs.dl.util.concurrent » [javadoc | source]

    1   /*
    2     File: LinkedNode.java
    3   
    4     Originally written by Doug Lea and released into the public domain.
    5     This may be used for any purposes whatsoever without acknowledgment.
    6     Thanks for the assistance and support of Sun Microsystems Labs,
    7     and everyone contributing, testing, and using this code.
    8   
    9     History:
   10     Date       Who                What
   11     11Jun1998  dl               Create public version
   12     25may2000  dl               Change class access to public
   13     26nov2001  dl               Added no-arg constructor, all public access.
   14   */
   15   
   16   package EDU.oswego.cs.dl.util.concurrent;
   17   
   18   /** A standard linked list node used in various queue classes **/
   19   public class LinkedNode { 
   20     public Object value;
   21     public LinkedNode next;
   22     public LinkedNode() {}
   23     public LinkedNode(Object x) { value = x; }
   24     public LinkedNode(Object x, LinkedNode n) { value = x; next = n; }
   25   }

Home » concurrent-sources » EDU.oswego.cs.dl.util.concurrent » [javadoc | source]