SpringBoot应用启动运行run方法,然后一直来到这个Run方法 public ConfigurableApplicationContext run(String... args) { StopWatch stopWatch = new StopWatch(); stopWatch.start ...
分类:
编程语言 时间:
2021-04-01 13:27:41
阅读次数:
0
类型转换 类型转换就是指将其他的数据类型,转换为String Number 或 Boolean 转换为String 方式一(强制类型转换): 调用被转换数据的toString()方法例子:var a = 123;a = a.toString();注意:这个方法不适用于null和undefined由于 ...
分类:
Web程序 时间:
2021-04-01 13:22:42
阅读次数:
0
看到返回List就好奇试了一下 List<List<Integer>> res = new List<>(); 结果果然还是不行的。 这道题的思路很好 理解,先序遍历将当前节点值添加进路径。 如果符合一条路径的标准就在res存做一个答案。 遍历到null就返回到上一层,然后会有一个removeLas ...
分类:
其他好文 时间:
2021-04-01 13:22:02
阅读次数:
0
1.求最大最小值 Math.max ; Math.min 注意是Math首字母大写, min与max首字母不需要大写。 2.整数表示无穷大 Integer.MAX_VALUE 3.输出数组 1.遍历数组打印输出 2.使用Arrays.toString(a);方法进行输出,a是要输出的数组。 4.求数 ...
分类:
编程语言 时间:
2021-04-01 13:13:30
阅读次数:
0
原题链接 题意:斯努克站在一个二维平面上。在一次操作中,他可以向 \(x\) 轴正方向或是 \(y\) 轴正方向移动一步。定义函数 \(f(r,c)\) 为通过上述操作,斯努克从 \((0,0)\) 走到 \((r,c)\) 的方案总数。现在给定 \(r_1,r_2,c_1\) 和 \(c_2\), ...
分类:
其他好文 时间:
2021-04-01 13:11:49
阅读次数:
0
guava所提供的这些真正意义来讲不属于Map 1.Multimap:key重复,但是value返回数组业务场景:封装成Map后,要对某一个key进行分组平铺 Multimap<String,String> multimap = HashMultimap.create(); multimap.put ...
分类:
其他好文 时间:
2021-04-01 13:00:49
阅读次数:
0
###案例1 java byte[]与十六进制字符串相互转换 import java.util.Arrays; public class ccc { public static void main(String[] args) { int[] array ={-6, 1, 18, 114, 54, ...
分类:
编程语言 时间:
2021-04-01 12:57:31
阅读次数:
0
package main import ( "encoding/json" "fmt" "io/ioutil" "os" ) type Student struct { ID int Age int Score int Name string } type Class struct { ID int ...
分类:
编程语言 时间:
2021-04-01 12:54:10
阅读次数:
0
CS DES任意长度密钥加密 private static string Encrypt2(string str, string sKey) { string s = ""; using (System.Security.Cryptography.DESCryptoServiceProvider d ...
分类:
其他好文 时间:
2021-04-01 12:53:38
阅读次数:
0
declare module '@alipay/bigfish' { function useModel<S>(initialState: string); function request<S>(url: string, options: any); export const history: { ...
分类:
其他好文 时间:
2021-04-01 12:52:52
阅读次数:
0