![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java源码
bo_Wen_h
这个作者很懒,什么都没留下…
展开
-
Java线程状态
public enum State { /** * Thread state for a thread which has not yet started. */ NEW, /** * Thread state for a runnable thread. A thread in the runnable * state is executing in the Java virtual machine but it may * .翻译 2020-08-21 13:37:53 · 150 阅读 · 0 评论 -
HashMap中插入元素的底层逻辑
final V putVal(int hash, K key, V value, boolean onlyIfAbsent, boolean evict) { Node<K,V>[] tab; Node<K,V> p; int n, i; // 先将table赋值给了tab,这个判断条件主要用于判断table中的 // 元素是否为空或者table是否为null,如果为空,就让tab初始化 ...原创 2020-08-21 11:54:38 · 349 阅读 · 0 评论 -
hashmap允许空键和空值
原创 2020-08-20 15:49:52 · 2908 阅读 · 0 评论 -
java hashcode 具体实现
原创 2020-08-20 14:52:06 · 273 阅读 · 0 评论 -
java System Properties
/** * System properties. The following properties are guaranteed to be defined: * <dl> * <dt>java.version <dd>Java version number * <dt>java.vendor ...原创 2020-02-22 18:09:46 · 140 阅读 · 0 评论 -
每天一份java源码--第一天--Boolean类
Boolean类源码结构: 源码部分:(不方便看的话,拷贝到IDE可能好一点) /* * Copyright (c) 1994, 2006, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * ...原创 2019-06-28 17:05:02 · 177 阅读 · 0 评论 -
每天一份java源码--第二天--String类(筛选出了常用函数的源码)
String类源码结构: 源码部分:(不方便看的话,拷贝到IDE可能好一点) package java.lang; import java.io.ObjectStreamField; import java.io.UnsupportedEncodingException; import java.nio.charset.Charset; import java.util.Arr...原创 2019-06-29 11:17:31 · 220 阅读 · 0 评论 -
java--Collection接口源码
接口Outline: 接口源码:(不方便看的话,拷贝到IDE可能好一点) /* * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms */ ...原创 2019-06-29 13:18:32 · 338 阅读 · 0 评论