文章浏览阅读140次。本文将分析Java线程池ThreadPoolExecutor的实现原理,掌握了实现原理能帮助你更好的优化程序的性能,避免很多错误用法。本文的代码量较少,主要讲原理,等你把原理完全弄明白了代码随便一写一大堆。1. 线......
admin
Java数据结构摘要:ArrayList基于数组,适合查找和修改;LinkedList适合插入删除;HashMap1.8后用数组+链表/红黑树,初始化时预估容量可避免扩容。SparseArray优化查找,ArrayMap减少冲突。Kotlin优化摘要:Kotlin的List用`listOf/mutableListOf`,M......
admin
点击上方“Java基基”,选择“设为星标”做积极的人,而不是积极废人!每天14:00更新文章,每天掉亿点点头发...源码精品专栏原创 | Java 2021超神之路,很肝~中文详细注释的开源项目RPC 框架 Dubbo 源码解析网络应用框架 Netty 源......
admin
文章浏览阅读207次。1. 简单说说java中的集合类2. HashTable和HashMap的区别3. HashTable和HashMap取哈希的方式有什么不同4. HashMap的底层?5.HashMap在jdk1.7和1.8的区别是什么6.为什么HashMap负载因子知道吗,说说7.负载因子为什么是0.75,大了......
admin
文章浏览阅读45次。多线程:多线程是指程序中包含多个执行流,即在一个程序中可以同时运行多个不同的线程来执行不同的任务。由于篇幅原因,只能展示其中一部分,更多面试题都整理成了PDF文档,具体内容如下!希望能帮......
admin
文章浏览阅读120次。最近公司的在做服务化, 需要把所有model包里的类都实现Serializable接口, 同时还要显示指定serialVersionUID的值. 听到这个需求, 我脑海里就突然出现了好几个问题, 比如说:(1) 序列化和反序列化是什么?(2) 实现序列......
admin
前言没错,历时26个月,共参加了79场面试(不是连续的)。对于文笔能力比技术还好的来说,现在随随便便面试一个15k—20k的岗位都不在话下了!为什么这么说?同一套技术知识答了79次...0至3年程序员必备技术集锦在总结技术......
admin
文章浏览阅读340次。程序员程序员要如何成长这个问题,一直是各大网站、论坛的热点。对此网络上众说纷纭,一千个读者里面就有一千个哈姆雷特。LZ觉得想要让个人技能成长速度,大于公司规模或业务的成长速度,不断优化......
admin
文章浏览阅读173次。一、private修饰的方法可以通过反射访问,那么private的意义是什么主要抓住两点:Java的private修饰符并不是为了绝对安全性设计的,更多是对用户常规使用Java的一种约束;从外部对对象进行常规调用时,能够......
admin
文章浏览阅读2.3k次。Map端会处理输入数据并产生中间结果,这个中间结果会写到本地磁盘,每个Map的输出会先写到内存缓冲区中,当写入的数据达到设定的阈值时,系统将会启动一个线程将缓冲区的数据写到磁盘,这个过程叫做spill(spi......
admin
文章浏览阅读200次。项目经历怎么写的?简历上有一两个项目经历很正常,但是真正能把项目经历很好地展示给面试官的非常少。对于项目经历大家可以考虑从如下几点来写:1. 对项目整体设计的一个感受2. 在这个项目中你负责......
admin
文章浏览阅读1.5k次。我个人的秋招目前已经接近结束,一直受到了CSDN社区的帮助,想回馈一下社区。首先记录一下我个人秋招的情况简历挂soul、哈啰出行、拼多多、小红书、oppo、快手笔试挂/笔试后无消息字节跳动、bilibili、......
admin
【面试篇】Java中==和equals的区别是什么?每天进步一点点!==的解读:如果用作基本数据类型的变量,则比较的是其存储的值是否相等。如果用作引用类型的变量,则比较的是所指向的对象的地址。equals的解读:equals方法是基类O......
admin
文章浏览阅读602次。Java2EE练习及面试题_chapter09Java常用类_下_方法indexof((char ch,-1)返回字符ch在字符串中最后一次出 现的位臵。()...
admin
文章浏览阅读45次。(10~12章)从源码层面着重分析了Springboot程序员加载、自动配置、数据管理、SpringCloud的配置管理、发现服务和负载均衡管理等核心功能的实现原理,旨在帮助读者能更深刻的理解Springboot开发,掌握精髓。做 ......
admin
文章浏览阅读42次。阿里巴巴篇1.扎实的计算机专业基础,包括算法和数据结构,操作系统,计算机网络,计算机体系结构,数据库等2.具有扎实的Java编程基础,理解IO、多线程等基础框架3.熟练使用Linux系统的常用命令及shell有一......
admin
文章浏览阅读103次。假设有一个排序的按未知的旋转轴旋转的数组(比如,0 1 2 4 5 6 7 可能成为4 5 6 7 0 1 2)。给定一个目标值进行搜索,如果在数组中找到目标值返回数组中的索引位置,否则返回-1。你可以假设数组中不存在重复......
admin
友情链接申请要求: 不违法不降权 权重相当 请联系QQ:737597453