
IP屬地:安徽
1预明、序列化和反序列化的底層實(shí)現(xiàn) 序列化是指把對(duì)象轉(zhuǎn)化成字節(jié)流,反序列化是指把字節(jié)流轉(zhuǎn)化成對(duì)象秽五。 實(shí)現(xiàn)了Serializable或External...
1、ReentrantLock和Synchronized的區(qū)別饥悴,以及實(shí)現(xiàn)原理 ReentrantLock是java代碼實(shí)現(xiàn)坦喘,Synchroniz...
1、AtomicLong和LongAdder的區(qū)別西设,Atomic解決ABA問題 LongAdder更高效并發(fā)高的情況下性能更好瓣铣,內(nèi)部采用cell...
1、int 和 Integer 有什么區(qū)別贷揽,Integer的值緩存范圍 int是基本類型棠笑,Integer是int的包裝類。Integer的緩存范...