source code preview
BiboBlack
这个作者很懒,什么都没留下…
展开
-
springboot之ApplicationContextInitializer都干了些什么
初始化方法org.springframework.boot.context.config.DelegatingApplicationContextInitializer @Override public void initialize(ConfigurableApplicationContext context) { ConfigurableEnvironment environme...原创 2019-12-22 22:35:17 · 464 阅读 · 0 评论 -
springboot启动过程源码学习笔记
public SpringApplication(ResourceLoader resourceLoader, Class<?>... primarySources) { this.resourceLoader = resourceLoader; Assert.notNull(primarySources, "PrimarySources must not be null")...原创 2019-12-22 20:50:33 · 129 阅读 · 0 评论 -
HashMap
/** * Implements Map.put and related methods. * * @param hash hash for key * @param key the key * @param value the value to put * @param onlyIfAbsent if true, don't chang...原创 2019-12-01 08:20:25 · 76 阅读 · 0 评论 -
TreeMap可以字符排序
TreeMp使用的是红黑树结构TreeMap中的key要求实现了Comparable接口或是在构造时传入Comparator包装类String实现了Comparable, public int compareTo(String anotherString) { int len1 = value.length; int len2 = another...原创 2019-04-14 21:23:13 · 884 阅读 · 0 评论