摘要: 1 // _ooOoo_ 2 // o8888888o 3 // 88" . "88 4 // (| -_- |) 5 // O\ = /O 6 // ____/` '\____ 7 // . ' \\| |// `. 8 // / \\||| : |||// \ 9 // / _||||| -:- 阅读全文
posted @ 2020-05-18 14:02 从程序员到外卖小哥 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 1 $.ajax({ 2 **//表示请求是否异步处理。默认是 true, true or false** 3 async:true, 4 **//规定请求的类型(GET 或 POST)** 5 type: 'get', 6 **//规定发送请求的 URL。默认是当前页面。** 7 url:"dem 阅读全文
posted @ 2020-05-18 11:11 从程序员到外卖小哥 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 头文件标红是让我很头疼的问题,一直也没有找到好用的解决方法,今天总算看见一个,不过这个算是治标不治本,暂且先用着吧,不过context的版本仍然不知道为啥和jar包里面的不一致也行 阅读全文
posted @ 2020-05-12 22:53 从程序员到外卖小哥 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 1.List和Set都继承自Collection,Map继承自己的接口 2.List包含ArrayList:底层为数组,查询快,增删慢,线程不安全,效率高 Vector:底层为数组,查询快,增删慢,线程安全效率低 LinkedList:底层为链表,查询慢,增删快,线程不安全效率高 3.Set:Has 阅读全文
posted @ 2020-04-10 14:55 从程序员到外卖小哥 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 1.String初始化之后不能被修改,如果修改会新开辟空间,所以大量修改不适合用String 2.StringBuilder不是线程安全的,意思是多线程修改的时候不安全,单线程可以 3.StringBuffer是线程安全的,多线程的时候用这个,但是速度比StringBuilder慢 4.String 阅读全文
posted @ 2020-04-01 14:06 从程序员到外卖小哥 阅读(162) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/decelerate_ 阅读全文
posted @ 2018-02-01 11:29 从程序员到外卖小哥 阅读(134) 评论(0) 推荐(0) 编辑
摘要: jsonString转换为list: JSONArray jsonArray=JSONArray.fromObject(result); List<RentCar> books=(List)JSONArray.toList(jsonArray, Class); list转换为jsonString 阅读全文
posted @ 2018-01-26 18:21 从程序员到外卖小哥 阅读(300) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/joy99/p/6121280.html 阅读全文
posted @ 2017-12-19 19:34 从程序员到外卖小哥 阅读(143) 评论(0) 推荐(0) 编辑
摘要: SELECT * FROM book where locate('人',bookname)>0 阅读全文
posted @ 2017-11-19 14:43 从程序员到外卖小哥 阅读(480) 评论(0) 推荐(0) 编辑
摘要: 1 如何将字串 String 转换成整数 int? A. 有两个方法: 1). int i = Integer.parseInt([String]); 或 i = Integer.parseInt([String],[int radix]); 2). int i = Integer.valueOf( 阅读全文
posted @ 2017-11-17 22:36 从程序员到外卖小哥 阅读(511) 评论(0) 推荐(0) 编辑