实现原理-运行在编译期 常用注解 @Getter注解 /** * @Getter注解 * 为属性生成get方法 */public class GetterTest { @Getter( lazy = true ) private final String field1 = "zhangxiaoxi" ...
分类:
编程语言 时间:
2021-01-18 11:41:26
阅读次数:
0
1.vs2019 中switch语句快捷键列出枚举 先switch然后两下tab会补完到default,光标显示在switch后的变量这时输入枚举,输完后回车,自动补完所有枚举的case 2.vs2019 选择代码,要先按下Ctrl和K,再按下F 对齐代码; 3.vs2019 将选定行代码变为小写字 ...
分类:
其他好文 时间:
2021-01-18 11:28:37
阅读次数:
0
NO.1 2个方法不同 SUBSTR(bc_ymd, 1, 6) 与 SUBSTR(bc_ymd,6) NO.2 游标的写法 ? CURSOR CR_TEST IS ? SELECT ? .... ? FROM ? ( ? ); --最后结尾要要有分号 ? NO.3 CASE WHEN 在查询条件中 ...
分类:
数据库 时间:
2021-01-18 10:35:03
阅读次数:
0
This time, you are supposed to find A×B where A and B are two polynomials. Input Specification: Each input file contains one test case. Each case occu ...
分类:
其他好文 时间:
2021-01-16 12:09:45
阅读次数:
0
一、case when的使用方法 Case具有两种格式。简单Case函数和Case搜索函数。 第一种 格式 : 简单Case函数 : 格式说明 case 列名 when 条件值1 then 选项1 when 条件值2 then 选项2....... else 默认值 end eg: select c ...
分类:
数据库 时间:
2021-01-16 11:56:08
阅读次数:
0
题目 1 class Solution { 2 public: 3 int sum = 0; 4 int rangeSumBST(TreeNode* root, int low, int high) { 5 dfs(root,low,high); 6 return sum; 7 } 8 void d ...
分类:
其他好文 时间:
2021-01-14 11:04:51
阅读次数:
0
package com.xuexi;//Java switch case 语句//switch case 语句判断一个变量与一系列值中某个值是否相等,每个值称为一个分支。//switch case 语句有如下规则://// switch 语句中的变量类型可以是: byte、short、int 或者 ...
分类:
编程语言 时间:
2021-01-12 10:39:08
阅读次数:
0
定义Fibonacci的第0项为0,第1项为1,使用C代码求出第n项 // 递归方法, 特点:容易实现,时间空间复杂度高 int fib(int n) { // 入参合法判断 if (n < 0) { return -1; } // 基线条件(base case) if (n < 2) { retu ...
分类:
其他好文 时间:
2021-01-12 10:34:15
阅读次数:
0
一.问题描述 某集群数据节点服务器频繁无法连接,服务器间出现可ping通但ssh无法连接的情况,使用带外地址登录后远程控制也无法显示正常界面,重启后会短暂恢复。 二.排查问题 重启服务器后检查服务器SSH状态均为正常,无奈只能去Redhat官网提case并sosreport收集日志等信息反馈后等待分 ...
分类:
系统相关 时间:
2021-01-11 10:32:06
阅读次数:
0
let status=1; switch (status) { case 1: console.log("status为1的时候你将做的事"); break; case 2: console.log("status为2的时候你将做的事"); break; case 3: console.log("s ...
分类:
其他好文 时间:
2021-01-08 11:19:20
阅读次数:
0