上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页
摘要: package zuochulai; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedHashSet; import java.util.List; public class caipiao { public static void main(String[] args... 阅读全文
posted @ 2017-05-08 20:24 苏轼的红烧肉 阅读(128) 评论(0) 推荐(0) 编辑
摘要: package zuochulai; import java.util.Stack; public class Zhan { public static void main(String[] args) { Stack s=new Stack(); s.push("1"); s.push("2"); s.push("3"); s.pop(); s.push("4"); s.push... 阅读全文
posted @ 2017-05-08 19:51 苏轼的红烧肉 阅读(97) 评论(0) 推荐(0) 编辑
摘要: package zuochulai; import java.util.ArrayList; import java.util.Arrays; import java.util.LinkedHashSet; import java.util.List; public class TestSeven { public static void main(String[] args) {... 阅读全文
posted @ 2017-05-08 19:43 苏轼的红烧肉 阅读(100) 评论(0) 推荐(0) 编辑
摘要: package zuochulai; import java.lang.reflect.Array; import java.util.ArrayList; import java.util.Arrays; import java.util.LinkedHashSet; import java.util.List; public class TestLinkedHashSet { ... 阅读全文
posted @ 2017-05-08 18:57 苏轼的红烧肉 阅读(374) 评论(0) 推荐(0) 编辑
摘要: package zuochulai; import java.util.Comparator; import java.util.TreeSet; public class TestTreeSet { public static void main(String[] args) { TreeSetset=new TreeSet(new Comparator() { ... 阅读全文
posted @ 2017-05-08 16:00 苏轼的红烧肉 阅读(809) 评论(0) 推荐(0) 编辑
摘要: public class Student implements Comparable{ int stuno; String name; int score; public int getStuno() { return stuno; } public void setStuno(int stuno) { this.stuno = stuno; } public Strin... 阅读全文
posted @ 2017-05-07 16:16 苏轼的红烧肉 阅读(384) 评论(0) 推荐(0) 编辑
摘要: public class Student { String name; int age; public String getName() { return name; } public void setName(String name) { this.name = name; } public int getAge() { return age; } public voi... 阅读全文
posted @ 2017-05-07 14:49 苏轼的红烧肉 阅读(1814) 评论(0) 推荐(0) 编辑
摘要: import java.util.ArrayList; import java.util.Collections; import java.util.List; public class zuqiudui { public static void main(String[] args) { List list=new ArrayList(); Collections... 阅读全文
posted @ 2017-05-07 13:44 苏轼的红烧肉 阅读(104) 评论(0) 推荐(0) 编辑
摘要: package shenrulijie; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.Random; public class Test { public static v... 阅读全文
posted @ 2017-05-04 21:22 苏轼的红烧肉 阅读(103) 评论(0) 推荐(0) 编辑
摘要: package fanxing; import java.util.ArrayList; import java.util.List; public class Test { public static void main(String[] args) { Listlist=new ArrayList(); list.add(new Student("刘德华", 85));... 阅读全文
posted @ 2017-05-04 17:09 苏轼的红烧肉 阅读(89) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页