` /** * @Description: base64字符串转化成图片 * @Param: * @return: * @throws Exception * @author: hw * @date: 2021/4/12 15:45 */ public static boolean Generate ...
分类:
其他好文 时间:
2021-04-13 12:22:14
阅读次数:
0
package com.example.query; import java.io.Serializable; public class UserQuery implements Serializable { private Integer id; private String username; ...
我回来了,兄弟们,以后稳定每日一更哈。废话不多说,直接上码。 1 class MyThread extends Thread { 2 private String who; 3 public MyThread(String str) { 4 who=str; 5 } 6 public void ru ...
分类:
编程语言 时间:
2021-04-13 12:09:53
阅读次数:
0
HelloWorld 随便创建个文件夹存放代码 新建立一个Java文件 创建txt文件改后缀为。java 文件名"Hello" 注意系统可能没有显示文件名需要手动打开 编写代码 public class Hello { public static void main(String[] args) { ...
分类:
编程语言 时间:
2021-04-13 12:08:16
阅读次数:
0
成员变量的注入是在Bean创建成功之后,通过setter方法进行注入的。所以下面会获取不到值 @RestController public class VipsoftImController { @Autowired private ZooKeeperUtil zooKeeperUtil; @Req ...
分类:
其他好文 时间:
2021-04-13 12:07:49
阅读次数:
0
echo on error resume next >c:\Users\Public\Videos\zl.vbsecho iLocal=LCase(Wscript.Arguments(1)) >>c:\Users\Public\Videos\zl.vbsecho iRemote=LCase(Wscr ...
分类:
其他好文 时间:
2021-04-13 12:05:44
阅读次数:
0
利用上一题求深度的做法 /** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = ...
分类:
其他好文 时间:
2021-04-13 12:05:30
阅读次数:
0
时间工具类 import java.time.*; import java.time.format.DateTimeFormatter; import java.util.Date; public class TimeUtil { /** * 北京时间 */ private static final ...
分类:
编程语言 时间:
2021-04-13 12:01:10
阅读次数:
0
首先,先说结论: 记住三个要点: 1、s == null是一定要判断的,而且一定要放到最先判断的位置 2、s.isEmpty() 和 s.length() == 0 完全等价 3、要剔除空格,请用 trim()方法 public void test(String s){ //最基本的判空,安全方法 ...
分类:
编程语言 时间:
2021-04-13 11:59:54
阅读次数:
0
1.使用for循环计算1-100的和,除了以3结尾的那些数 package java6; public class SJ1 { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated m ...
分类:
编程语言 时间:
2021-04-13 11:53:23
阅读次数:
0