上一页 1 ··· 3 4 5 6 7
  2016年7月7日
摘要: 1.1 Set.add方法——向Set集合添加对象 public static void main(String[] args) { Set set = new HashSet(); //定义Set集合对象 set.add(new Date()); //向集合中添加日期对象 set.add("app 阅读全文
posted @ 2016-07-07 17:59 陌生街中吹起褪色故梦 阅读(2037) 评论(0) 推荐(0) 编辑
摘要: 1.1 Map.clear方法——从Map集合中移除所有映射关系 public static void main(String[] args) { Map map=new HashMap(); //定义Map集合 map.put("昨天", "定制目录"); //向集合中添加元素 map.put(" 阅读全文
posted @ 2016-07-07 17:40 陌生街中吹起褪色故梦 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 1.1: List.add方法——向集合列表中添加对象 public static void main(String[] args) { List<String> list=new ArrayList<String>(); list.add("保护环境"); //向列表中添加数据 list.add( 阅读全文
posted @ 2016-07-07 17:01 陌生街中吹起褪色故梦 阅读(175) 评论(0) 推荐(0) 编辑
  2016年7月3日
摘要: "/"根目录 "./".代表当前目录".."代表 级目录兼容IE:<meta http-equiv="X-UA-Compatible" content="IE=edge"> 阅读全文
posted @ 2016-07-03 22:50 陌生街中吹起褪色故梦 阅读(112) 评论(0) 推荐(0) 编辑
  2016年6月19日
摘要: 说明:Statement stmt = con.createStatemen=(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY); 通用格式为:Statement stmt=con.createStatement(int ty 阅读全文
posted @ 2016-06-19 16:53 陌生街中吹起褪色故梦 阅读(4186) 评论(0) 推荐(1) 编辑
上一页 1 ··· 3 4 5 6 7