面试
迷路啦
这个人很懒~~~
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Java 思想
Https加密解密过程: https://jingyan.baidu.com/article/d5a880ebce62de13f147ccc5.html https://blog.youkuaiyun.com/resilient/article/details/73000977 设计模式 1,单例,饿汉模式,懒汉模式,双校验 + volatile,静态内部类; 2,工厂模式,多线程 Executors; 3,建造者模式,AlertDialog 4,策略模式,Okhttp 的 Interceptor 5,观察者模式,Ev原创 2020-06-30 18:30:06 · 320 阅读 · 0 评论 -
Android 思想
性能优化: TraceView 优点: 通过埋点的方式精确的调试某个方法。 TraceView 缺点: 目前 DDMS 中的 TraceView 有 bug,find 无法使用。直接用 sdk 的 可以 find。 运行时开销大,整体都会变慢。 直接用 Android Studio 查看 trace 文件的缺点:无法直观地对比不同线程的执行时间。 Profiler 开源库的原理: 事件总线:EventBus,Otto; 图片库:Picasso,Fresco,Glide; 网络库:Volley,Retrofi原创 2020-06-30 18:28:24 · 337 阅读 · 0 评论 -
算法
两个超大正整数相加 String a = "20394803294"; String b = "20394803294"; StringBuffer buffer = new StringBuffer(); int bound = 0; int i = a.length()-1; int j = a.length()-1; while(i >=0 || j >= 0){原创 2020-06-30 18:25:38 · 236 阅读 · 0 评论
分享