关于泛型求组 本帖最后由 u010557116 于 2013-05-22 17:37:45 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 报错是否因为 Student 类的问题? class Student implements Comparable<Student>//实现接口{ public int age; public Student() { } public Student(int age) { this.age = age; } public int compareTo(Student other)//重写方法 { return this.age - other.age; } public String toString() { return "age=" + age ; } } SocketChannel和Socket有什么区别 struts1.2 问题 ognl 表达式中的 #fact(20H) 和 #fact.(20H)的区别 使用FormFile上传文件,在action前使用了Filter过滤器获取一个文本域的值,怎么获取? 求 sqlloder例子 关于sql语句的问题!!!! linux/unix下tomcat的控制台信息如何查看 文本框怎么自动联想? 哪位了解博科公司?中国银行软件中心。 用ANT如何打包成WAR? 关于 lucene4.3 的索引 Extjs 难题
class Student implements Comparable<Student>//实现接口
{
public int age;
public Student()
{
}
public Student(int age)
{
this.age = age;
} public int compareTo(Student other)//重写方法
{
return this.age - other.age;
} public String toString() {
return "age=" + age ;
}
}