listnode1.java
来自「从给定的字母矩阵中查找给定的字典所包含的字符串」· Java 代码 · 共 39 行
JAVA
39 行
/**
* This is the node for the stack.
* It includes an object field to store the value, and a reference to
* store the pointer to the next node.
*
* @author Ting Chen 0122070
* @version 1.0 2003/5/30
*/
public class ListNode1
{
/** The variable to store the value of the node. */
public int[] item;
/** The variable to store the reference to the next node. */
public ListNode1 next;
/**
* The constructor for this class.
* It initializes the fields element and next to null.
*/
public ListNode1()
{
item=null;
next=null;
}
/**
* The constructor for this class. <p>
* It initializes the fields element to the parameters given.
*
* @param it The value for the node.
*/
public ListNode1(int[] a)
{
item=a;
next=null;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?