?? cient.java
字號:
package com.javapatterns.iterator.linkedlist;
import java.util.Iterator;
import java.util.LinkedList;
public class Cient
{
private static LinkedList ll = new LinkedList();
private static Iterator it;
public static void main(String[] args)
{
ll.add(new String("Age: "));
ll.add(new Integer(35));
ll.add(new String("Career: "));
ll.add(new String("Bug selling"));
it = ll.listIterator(0);
while (it.hasNext())
{
System.out.println(it.next());
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -