KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > dbunit > util > concurrent > LinkedNode


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 /** A standard linked list node used in various queue classes **/
19 public class LinkedNode {
20   public Object JavaDoc value;
21   public LinkedNode next;
22   public LinkedNode() {}
23   public LinkedNode(Object JavaDoc x) { value = x; }
24   public LinkedNode(Object JavaDoc x, LinkedNode n) { value = x; next = n; }
25 }
26
Popular Tags