New stuff * kbmMW Community Edition (CE) made available. CE contains most Enterprise Edition features and is FREE to use under certain circumstances. ...
分类:
其他好文 时间:
2019-12-28 16:26:31
阅读次数:
111
基于链表和二分搜索树实现Set,基于二分搜索树实现Map。 集合Set Set<E> void add<E> void remove<E> boolean contains<E> int getSize() boolean isEmpty() 1、 使用二分搜索树实现Set集合: package s ...
分类:
其他好文 时间:
2019-12-28 12:55:06
阅读次数:
68
安装xpathpipinstalllxmlXpath常用规则话不多说,看代码fromlxmlimportetreedoc=‘‘‘<html><head><basehref=‘http://example.com/‘/><title>Examplewebsite</title></head><body><div
分类:
其他好文 时间:
2019-12-28 09:47:05
阅读次数:
56
最近刚好涉及到从2个不同集合中找出不同的元素的需求,以下为测试代码 1、利用 apache collection 工具内中的方法,附上坐标 <dependency> <groupId>commons-collections</groupId> <artifactId>commons-collecti ...
分类:
其他好文 时间:
2019-12-27 19:59:04
阅读次数:
136
一.使用场景:1.在前后端接口调用的过程中,某些接口数据是需要加密传输的:比如密码等,前端编码后后端接口都必须需要解码,每个接口都解要做一次解码工作,这是一个很繁琐的事情2.如接口调用过程中,每次调用都需要传送一个token,我们怎样去对接口进行拦截二.定义一个Filter或者OncePerRequestFilterOncePerRequestFilter:(在spring中,filter都默认继
分类:
编程语言 时间:
2019-12-26 16:18:12
阅读次数:
148
感谢大神: https://www.cnblogs.com/JavaSubin/p/5450849.html 构造方法: 1)无参构造方法 String() String str = new String() str = "sample"; 2)参数为字符串类型 String(String orig ...
分类:
编程语言 时间:
2019-12-25 17:48:40
阅读次数:
110
Kotlin class Solution { fun twoSum(nums: IntArray, target: Int): IntArray { val v2i: MutableMap<Int,Int> = mutableMapOf() for((index, value) in nums.w ...
分类:
其他好文 时间:
2019-12-25 12:58:50
阅读次数:
62
// generate random number #include <iostream> #include <iomanip> #include <cstdlib> // contains function prototype for rand() using namespace std; int ...
分类:
编程语言 时间:
2019-12-25 01:56:27
阅读次数:
94
A self-dividing number is a number that is divisible by every digit it contains. For example, 128 is a self-dividing number because 128 % 1 == 0, 128 ...
分类:
其他好文 时间:
2019-12-24 17:05:35
阅读次数:
90
Description Find the number Weak Connected Component in the directed graph. Each node in the graph contains a label and a list of its neighbors. (a we ...
分类:
其他好文 时间:
2019-12-22 00:56:39
阅读次数:
123