📄 listnode1.java
字号:
/**
* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -