?? productlist.java
字號(hào):
import java.util.*;
public class productList extends JawtList
{
public productList(Vector products)
{
super(products.size()); //for compatibility
for (int i = 0; i < products.size(); i++)
{
//take each strig apart and keep only
//the product names, discarding the quntities
String s = (String)products.elementAt(i);
int index = s.indexOf("--"); //separate qty from name
if(index > 0)
add(s.substring(0, index));
else
add(s);
}
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -