摘要:
Content Security Policy (CSP) 是一种加固 Web 应用的安全性的技术,通过在网站页面中设置 CSP Header 来限制页面中能够执行的脚本、样式、图片等资源。CSP 包... 参考1:https://blog.csdn.net/qq_30436011/article/
阅读全文
摘要:
泛型,作为JDK5时代引入的”语法糖“,在编译的时候是会被抹除的,换言之,specialSort(List<Dog>)和specialSort(List<Apple>)在编译时都会变成specialSort(List),因此不符合重载的原则(变量名相同、参数类型或数量不同)。 参考:https://
阅读全文
摘要:
参考:https://www.cnblogs.com/huanshilang/p/11557642.html 参考2:https://blog.csdn.net/h2677lucy/article/details/120642945
阅读全文