一、返回值分类 1.字符串 2.void 3.ModelAndView 二、转发和重定向 1.forward转发 2.Redirect重定向 三、ResponseBody响应json数据 需要在pom.xml中添加如下代码: <?xml version="1.0" encoding="UTF-8"? ...
分类:
编程语言 时间:
2021-03-09 12:58:55
阅读次数:
0
本文参考Java 集合系列10之 HashMap详细介绍(源码解析)和使用示例 及 JDK1.8集合源码阅读 一、HashMap介绍 1.1 前言 Java8的HashMap对之前做了较大的优化,其中最重要的一个优化就是桶中的元素不再唯一按照链表组合,也可以使用红黑树进行存储,总之,目标只有一个,那 ...
分类:
其他好文 时间:
2021-03-08 13:09:20
阅读次数:
0
The magic shop in Mars is offering some magic coupons. Each coupon has an integer N printed on it, meaning that when you use this coupon with a produc ...
分类:
其他好文 时间:
2021-03-06 14:44:48
阅读次数:
0
人脸识别分析 调用 腾讯AI人脸识别接口 测试应用 纯py文件测试照片 # -*- coding: utf-8 -*- import json from tencentcloud.common import credential from tencentcloud.common.exception. ...
分类:
其他好文 时间:
2021-03-05 13:28:55
阅读次数:
0
Jaw crusher has a wide range of applications. Our company uses high manganese steel and metamorphic high manganese steel to produce various specificat... ...
分类:
其他好文 时间:
2021-03-03 12:29:19
阅读次数:
0
org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available: [{#transport#-1}{Mln3wtAkTMCwR_z9QIv-tA}{20.0 ...
分类:
其他好文 时间:
2021-03-03 12:26:06
阅读次数:
0
警告如图所示,该警告是因为jdk版本太高(我用的是15.0,据说9.0的也会这样),具体的原理还没有研究,它不影响项目的正常运行,但是看着很糟心有木有~~~~ 解决方案是把项目jdk降低到1.8及以下,建议1.8。 ...
分类:
数据库 时间:
2021-03-03 12:24:53
阅读次数:
0
We have a collection of stones, each stone?has a positive integer weight. Each turn, we choose the two?heaviest?stones?and smash them together. Suppos ...
分类:
其他好文 时间:
2021-03-02 12:02:57
阅读次数:
0
ThreadPoolExecutor介绍 通过 ThreadPoolExecutor 创建线程池,API 如下所示: public ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUn ...
分类:
编程语言 时间:
2021-03-02 11:49:07
阅读次数:
0
反射机制:将类的各个组成部分封装为其他对象,这就是反射机制。 反射的优势: 1.可以在程序运行过程中,操作这些对象。 2.可以解耦,提高程序的可扩展性。 Java 代码在计算机中经历的三个阶段 (1)Source 源代码阶段: .java 被编译成 .class 字节码文件。 (2)Class 类对 ...
分类:
编程语言 时间:
2021-02-27 13:12:11
阅读次数:
0