比较器 自定义类比较,直接使用(跟常用类一样) package javaUtil.comparable.method; import javaLang.comparator.method.Goods; import org.junit.Test; import java.util.Arrays; / ...
分类:
编程语言 时间:
2021-05-24 15:56:15
阅读次数:
0
Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For example, given L being 1→2→3→4→5→6, ...
分类:
其他好文 时间:
2021-05-24 13:17:05
阅读次数:
0
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc ...
分类:
其他好文 时间:
2021-05-24 12:05:49
阅读次数:
0
准备的model: 1 public class User implements Serializable{ 2 private Integer id; 3 private String name; 4 5 //保存一对多查询结果 6 private List<Account> accounts; ...
分类:
其他好文 时间:
2021-05-24 10:31:57
阅读次数:
0
linux 常用命令:文件、网络、性能 一.常用命令 文件 ls cd pwd mkdir cp rm mv 文件属性 # 授权 r: 读权限 4; w: 写权限 2; x: 操作权限 ; r+w+x=7,是最高权限 chomd 777 文件名 网络 ping # 测试网络连接情况 ping -c ...
分类:
系统相关 时间:
2021-05-24 10:00:59
阅读次数:
0
find是linux下最棒的命令之一,其查询功能非常强大。以下将详细介绍find的大多数用法:工作方式:其沿着文件层次结构向下遍历,匹配符合条件的文件,并执行相应的操作。 1.打印文件和目录列表 # find . -print #打印文件和目录列表 当使用-print时,’\n’作为用于分隔文件的定 ...
分类:
其他好文 时间:
2021-05-24 07:54:00
阅读次数:
0
static void Main(string[] args) { //Console.WriteLine("Hello World!"); //ShowInt(10); //ShowString("test"); //ShowDateTime(DateTime.Now); //ShowObject ...
分类:
其他好文 时间:
2021-05-24 04:48:03
阅读次数:
0
修改了本地的代码,然后使用: git add file git commit -m '修改原因' 执行commit后,还没执行push时,想要撤销这次的commit,该怎么办? 解决方案: 使用命令: git reset --soft HEAD^ 这样就成功撤销了commit,如果想要连着add也撤 ...
分类:
其他好文 时间:
2021-05-24 04:41:38
阅读次数:
0
一个登录窗体,FormBorderStyle属性设置为None,打开后不能挪动位置,有时候会妨碍使用,有点恶心。网上找了段内容,实现拖动效果: #region 无边框拖动效果,Form被PictureBox覆盖,Form事件不会被触发 [System.Runtime.InteropServices. ...
<sql id="insertColumn"> data_job_id, ds_info, src_ds_type, dst_ds_type, scene_state, last_checked_time, check_period_ms, last_round_reset_time, round_ ...
分类:
其他好文 时间:
2021-05-24 04:16:16
阅读次数:
0