一。首先创建一个服务提供者 实体类: package com.dsjg.user.pojo;import lombok.Data;import tk.mybatis.mapper.annotation.KeySql;import javax.persistence.Id;import javax.p ...
分类:
编程语言 时间:
2020-07-07 10:02:13
阅读次数:
68
一、首先定义一个log的日志(TLog.java); package entity; import java.util.Date; public class TLog { private Integer id; private String type; private Integer operato ...
分类:
其他好文 时间:
2020-07-07 00:29:09
阅读次数:
71
import java.util.*; public class Main { static List<String> res; static Stack<Integer> stk; static void dfs(int[] a, int n, int u, String path, int ti ...
分类:
其他好文 时间:
2020-07-06 19:50:26
阅读次数:
88
###题目描述 Bessie the cow, always a fan of shiny objects, has taken up a hobby of mining diamonds in her spare time! She has collected \(N\) diamonds \(( ...
分类:
其他好文 时间:
2020-07-06 19:44:16
阅读次数:
76
java.util.List 分段 使用google的guava类库对List分段处理 List<Integer> intList = Lists.newArrayList(1, 2, 3, 4, 5, 6, 7, 8); List<List<Integer>> subSets = Lists.pa ...
分类:
编程语言 时间:
2020-07-06 18:02:38
阅读次数:
74
Delphi 判断字符串是否是数字、大小字母、小写字母、纯字母组成 //判断字符串是否是数字 ,返回布尔值 function IsNumberic(Vaule:String):Boolean; var i:integer; begin result:=true; //设置返回值为 是(真) Vaul ...
基本数据类型与包装类的对应关系 byte → Byte short → Short int → Integer long → Long float → Float double → Double char → Character boolean→ Boolean ...
分类:
其他好文 时间:
2020-07-06 10:56:25
阅读次数:
52
数字(Digital)分为整数(Integer)、浮点数(Float)、复数(Complex)、布尔(Boolean) 一:加 + 减 - 乘 * 除 / 取余数 % 幂 ** 只取整数 // print(3+5) #两个数字相加 8print(5-3) #两个数字相减 2print(3*5) #两 ...
分类:
编程语言 时间:
2020-07-06 01:36:10
阅读次数:
99
第一种 public static boolean func(String value) { try { Integer.parseInt(value); return true; } catch (Exception e) { return false; } } public static voi ...
分类:
编程语言 时间:
2020-07-06 01:32:49
阅读次数:
88
java.lang——包含一些Java语言的核心类,如String、Math、Integer、System和Thread,提供常用功能。java.net——包含执行与网络相关的操作的类和接口。java.io——包含能提供多种输入/输出功能的类。java.util——包含一些实用工具类,如定义系统特性 ...
分类:
其他好文 时间:
2020-07-05 19:19:13
阅读次数:
70