package com.chase.test;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.List;
public class testT {
public static void main(String[] args) {
testT classT = new testT();
List find = classT.find(0, 10);
if (find != null && find.size()>0) {
for (T integer : find) {
System.out.println(integer);
}
}
// showList();
}
public static void showList() {
testT classT = new testT();
List find = classT.find(0, 10);
for (T t : find) {
System.out.println(t);
}
}
public List find(int begin, int end) {
List list = new ArrayList();
list.add((T)new Integer(222));
list.add((T)"111");
list.add((T)"昨天是重阳节!");
return list;
}
}
class TestGen0{
public Hashtable h=new Hashtable();
public void put(K k, V v) {
h.put(k,v);
}
public V get(K k) {
return h.get(k);
}
public static void main(String args[]){
TestGen0 t=new TestGen0();
t.put("key", "value");
String s=t.get("key");
System.out.println(s);
}
}