排序
【后端长篇精品汇总】Spring面试题(约17976字)
文章目录# Spring面试题# Spring# 说一下你对 Spring 的理解# Spring IoC和AOP 介绍一下# Spring的aop介绍一下# IOC和AOP是通过什么机制来实现的?# 怎么理解SpringIoc?# 依赖倒置,依赖注入,...
【Java】Java Phaser主要用来解决什么问题?Phaser运行机制是什么样的?给一个Phaser使用的示例?(约1218字)
文章目录Phaser主要用来解决什么问题? Phaser 和 CountDownLatch、CyclicBarrier 都有很相似的地方。 Phaser运行机制是什么样的? 给一个Phaser使用的示例?
【Java】为什么重写 equals 时必须重写 hashCode ⽅法?(约652字)
文章目录为什么重写 equals 时必须重写 hashCode ⽅法?什么是 hashCode 方法?为什么要有 hashCode 方法?为什么两个对象有相同的 hashcode 值,它们也不⼀定相等?hashCode 和 equals 方法的...