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 org.dbunit.util.concurrent;
17
18 /**
19 * A standard linked list node used in various queue classes
20 *
21 * @author Doug Lea
22 * @author Last changed by: $Author: gommma $
23 * @version $Revision: 766 $ $Date: 2008-08-01 13:05:20 +0200 (ven, 01 ago 2008) $
24 * @since ? (pre 2.1)
25 */
26 public class LinkedNode {
27 public Object value;
28 public LinkedNode next;
29 public LinkedNode() {}
30 public LinkedNode(Object x) { value = x; }
31 public LinkedNode(Object x, LinkedNode n) { value = x; next = n; }
32 }