Last change
on this file since 25160 was 25160, checked in by sjm84, 12 years ago |
Initial cut at a version of seaweed for debugging purposes. Check it out live into the web/ext folder
|
File size:
1.3 KB
|
Line | |
---|
1 | /*
|
---|
2 | * file: DLLNode.js
|
---|
3 | *
|
---|
4 | * @BEGINLICENSE
|
---|
5 | * Copyright 2010 Brook Novak (email : [email protected])
|
---|
6 | * This program is free software; you can redistribute it and/or modify
|
---|
7 | * it under the terms of the GNU General Public License as published by
|
---|
8 | * the Free Software Foundation; either version 2 of the License, or
|
---|
9 | * (at your option) any later version.
|
---|
10 | * This program is distributed in the hope that it will be useful,
|
---|
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
13 | * GNU General Public License for more details.
|
---|
14 | * You should have received a copy of the GNU General Public License
|
---|
15 | * along with this program; if not, write to the Free Software
|
---|
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
---|
17 | * @ENDLICENSE
|
---|
18 | */
|
---|
19 | /**
|
---|
20 | * @class
|
---|
21 | * <i><b>[Reference material only]</b></i>
|
---|
22 | * <br><br>
|
---|
23 | * A node used in de.collections.DoublyLinkedList
|
---|
24 | * @author Brook Novak
|
---|
25 | *
|
---|
26 | */
|
---|
27 | de.collections.DLLNode = function() {
|
---|
28 |
|
---|
29 | /**
|
---|
30 | * Read only: the user data
|
---|
31 | * @type Object
|
---|
32 | */
|
---|
33 | this.data = null;
|
---|
34 |
|
---|
35 | /**
|
---|
36 | * Read only: the next node
|
---|
37 | * @type de.collections.DLLNode
|
---|
38 | */
|
---|
39 | this.next = null;
|
---|
40 |
|
---|
41 | /**
|
---|
42 | * Read only: the previous node
|
---|
43 | * @type de.collections.DLLNode
|
---|
44 | */
|
---|
45 | this.prev = null;
|
---|
46 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.