摘要: import java.util.Comparator; class Studentxx { private String nameString; private int age; public Studentxx(String nameString, int age) { // super(); ... 阅读全文
posted @ 2014-08-14 15:08 塔斯曼 阅读(234) 评论(0) 推荐(0) 编辑
摘要: class BinaryTree { class Node { private Comparable data; private Node left; private Node right; public void addNode(Node newNode) { if (ne... 阅读全文
posted @ 2014-08-14 14:46 塔斯曼 阅读(131) 评论(0) 推荐(0) 编辑
摘要: class Studentx implements Comparable { private String name; private int age; private float score; public Studentx(String name, int age, float score) { this.name = n... 阅读全文
posted @ 2014-08-14 14:28 塔斯曼 阅读(200) 评论(0) 推荐(0) 编辑
摘要: class Person { private String name; private int age; public Person(String name, int age) { this.name = name; this.age = age; } public String toString... 阅读全文
posted @ 2014-08-13 15:04 塔斯曼 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 取时间差: public class SystemDemo01 { public static void main(String[] args) { long startTime = System.currentTimeMillis(); for (int i = 0; i < 1000; i++) { try... 阅读全文
posted @ 2014-08-13 15:01 塔斯曼 阅读(121) 评论(0) 推荐(0) 编辑
摘要: .properties文件放到当前目录下会报错: 需要放到src文件夹下: 阅读全文
posted @ 2014-08-12 14:34 塔斯曼 阅读(1117) 评论(0) 推荐(0) 编辑
摘要: public class RunTimeDemo02 { public static void main(String[] args) { Runtime runtime = Runtime.getRuntime(); Process process = null; try { proces... 阅读全文
posted @ 2014-08-12 12:01 塔斯曼 阅读(130) 评论(0) 推荐(0) 编辑
摘要: public class StringBufferDemo02 { public static void main(String[] args) { StringBuffer bf = new StringBuffer("I am bf,"); // bf="I am a bf,"; fun1(bf); ... 阅读全文
posted @ 2014-08-12 10:51 塔斯曼 阅读(132) 评论(0) 推荐(0) 编辑
摘要: class Info{ private T var; public T getVar(){ return var; } public void setVar(T var){ this.var=var; } public String toString(){ ... 阅读全文
posted @ 2014-08-11 10:15 塔斯曼 阅读(272) 评论(0) 推荐(0) 编辑
摘要: ① ボタンのクリック事件:Sub Click(Source As Button) Dim ws As New NotesUIWorkspace Dim uidoc As NotesUIDocument Set uidoc =ws.CurrentDocument content = uidoc.Fie... 阅读全文
posted @ 2014-08-07 13:00 塔斯曼 阅读(169) 评论(0) 推荐(0) 编辑