01: /*
02: File: LinkedNode.java
03:
04: Originally written by Doug Lea and released into the public domain.
05: This may be used for any purposes whatsoever without acknowledgment.
06: Thanks for the assistance and support of Sun Microsystems Labs,
07: and everyone contributing, testing, and using this code.
08:
09: 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: /** A standard linked list node used in various queue classes **/
19: public class LinkedNode {
20: public Object value;
21: public LinkedNode next;
22:
23: public LinkedNode() {
24: }
25:
26: public LinkedNode(Object x) {
27: value = x;
28: }
29:
30: public LinkedNode(Object x, LinkedNode n) {
31: value = x;
32: next = n;
33: }
34: }
|