摘要: 一、第一种方式: 1、编写一个支持跨域请求的 Configuration import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annota 阅读全文
posted @ 2017-11-28 15:27 penghaihang 阅读(17205) 评论(0) 推荐(0) 编辑
摘要: HashMap 概述 HashMap 是基于哈希表的 Map 接口的非同步实现。此实现提供所有可选的映射操作,并允许使用 null 值和 null 键。此类不保证映射的顺序,特别是它不保证该顺序恒久不变。 此实现假定哈希函数将元素适当地分布在各桶之间,可为基本操作(get 和 put)提供稳定的性能 阅读全文
posted @ 2017-11-28 14:53 penghaihang 阅读(210) 评论(0) 推荐(0) 编辑