@NotNull 适用于非空判断 The annotated element must not be {@code null}. CharSequence, Collection, Map 和 Array 对象不能是 null, 但可以是空集(size = 0)。 @NotEmpty 适用于判断集合 ...
分类:
其他好文 时间:
2020-07-13 15:30:22
阅读次数:
76
1.修改环境变量,实现免密传输 export RSYNC_PASSWORD=123 ## 修改环境变量之前是这样传输 [root@web01 ~]# rsync -avz /etc/passwd wzh_bak@10.0.0.41::wzh --password-file=/etc/rsync.pa ...
分类:
系统相关 时间:
2020-07-12 22:09:24
阅读次数:
100
[root@kunpeng82 sdn-ip-topology]# zebra -d -f quagga-sdn.conf vty_read_config: failed to open configuration file /root/ryu/SDN-IP-Ryu/sdn-ip-topology/ ...
分类:
其他好文 时间:
2020-07-12 20:33:14
阅读次数:
84
#第一周 ##本周确定了各个模块的功能以及怎样实现,还确定了流程框图。目前还要确定,这个智能大仓系统可以解决现实中存在的什么问题。下周要进行具体的分工,即每人主要负责哪个模块。 ###学习内容 1.python为解释性语言,即程序执行一次翻译一次 2.保留字与标识符: ——标识符:受保护的变量、类属 ...
分类:
其他好文 时间:
2020-07-12 19:00:01
阅读次数:
86
import React, {Component} from 'react'import {View, Text, TouchableOpacity, FlatList, RefreshControl,ActivityIndicator} from 'react-native'import * as ...
分类:
其他好文 时间:
2020-07-10 14:58:29
阅读次数:
141
1.1 关于Caffeine Cache ? Google Guava Cache是一种非常优秀本地缓存解决方案,提供了基于容量,时间和引用的缓存回收方式。基于容量的方式内部实现采用LRU算法,基于引用回收很好的利用了Java虚拟机的垃圾回收机制。其中的缓存构造器CacheBuilder采用构建者模 ...
分类:
系统相关 时间:
2020-07-10 13:38:09
阅读次数:
146
JSON (JavaScript Object Notation) 是一种轻量级的数据交换格式。它基于ECMAScript的一个子集。 Python3 中可以使用 json 模块来对 JSON 数据进行编解码,它包含了两个函数: json.dumps(): 对数据进行编码。 json.loads() ...
分类:
编程语言 时间:
2020-07-10 11:35:51
阅读次数:
59
先看看SpringBoot的主配置类: 里面有一个main方法运行了一个run()方法,在run方法中必须要传入一个被@SpringBootApplication注解的类。 @SpringBootApplication SpringBoot应用标注在某个类上说明这个类是SpringBoot的主配置类 ...
分类:
编程语言 时间:
2020-07-10 00:11:02
阅读次数:
67
problem 1010. Pairs of Songs With Total Durations Divisible by 60 参考 1. leetcode_1010. Pairs of Songs With Total Durations Divisible by 60; 完 ...
分类:
其他好文 时间:
2020-07-09 22:47:52
阅读次数:
73
BeanDefinitionReader实例化的时候,注册了5个BeanDefinitionthis.reader = new AnnotatedBeanDefinitionReader(this); RootBeanDefinition def = new RootBeanDefinition(C ...
分类:
编程语言 时间:
2020-07-09 19:27:27
阅读次数:
69