上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页
摘要: 获取运行时 类 的 内部结构 --获取注解 getAnnotations()-返回数组 --获取修饰符 getModifiers() --获取返回值类型 getReturnType().getName() --获取参数类型 getParameterTypes() Parameter Paramete 阅读全文
posted @ 2021-11-04 09:06 悟_空 阅读(24) 评论(0) 推荐(0)
摘要: ClassLoader NewInstance()==运行时加载类,空参构造器 getFields()==public 包含父类 getDeclaredFields()==所有 不包含父类 阅读全文
posted @ 2021-11-03 09:03 悟_空 阅读(20) 评论(0) 推荐(0)
摘要: 数据流--不常用 DataOutputStream DataInputStream 对象流 ObjectOutputStream ObjectInputStream == 标识接口 serializable == RandomAccessFile == InetAddress.getByName() 阅读全文
posted @ 2021-11-02 09:04 悟_空 阅读(165) 评论(0) 推荐(0)
摘要: File getAbsolutePath() getPath() getName() getParent() length() list() listFiles() isDirectory() isFile() exists() canRead() canWrite() isHidden() Fil 阅读全文
posted @ 2021-11-01 09:02 悟_空 阅读(32) 评论(0) 推荐(0)
摘要: put putAll remove clear get(Object key) containsKey(Object key) containsValue(Object value) size() isEmpty() equals(Object obj) 阅读全文
posted @ 2021-10-31 08:50 悟_空 阅读(8) 评论(0) 推荐(0)
摘要: remove removeAll contains containsAll iterator==每次调用,生成一个新的iterator iterator==remove "Tom".equals(object) iterator.remove for(Object obj : collection) 阅读全文
posted @ 2021-10-30 08:55 悟_空 阅读(16) 评论(0) 推荐(0)
摘要: 框架=注解+反射+设计模式 @Override @Deprecated @SuppressWarnings 自定义注解 Collection-接口 List-接口==有序、可重复 ArrayList\\LinkedList\\Vector Set-接口==无序、不可重复 HashSet\\Linke 阅读全文
posted @ 2021-10-29 09:18 悟_空 阅读(31) 评论(0) 推荐(0)
摘要: 实现接口 Comparable 对比器 Comparator 阅读全文
posted @ 2021-10-28 13:26 悟_空 阅读(32) 评论(0) 推荐(0)
摘要: 1== String s1 = "hello"; String s2 ="hello"; String s3 = new String("hello"); s1 += "world"; 2== Sring的不可变性--final 3== String, StringBuffer, StringBui 阅读全文
posted @ 2021-10-27 08:54 悟_空 阅读(27) 评论(0) 推荐(0)
摘要: 沙丘 生命不是用来解决什么问题的,生命是用来经历的 苏轼--定风波 莫听穿林打叶声,何妨吟啸且徐行 Exception extends throws try catch 面向对象的思维 万物皆对象 catch,catch,catch \t tqb 阅读全文
posted @ 2021-10-26 09:02 悟_空 阅读(25) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页