梦
4年前
微信小程序验证邮箱,验证手机号
笔记类varthatthisthat.optional()是验证是否为空方法/验证邮箱格式/email(value){returnthat.optional(value)||/^azAZ09.$%&'\/?^_{|}@azAZ
Easter79 Easter79
4年前
SpringBoot2单元测试
引入maven依赖引入powermock是为了解决静态方法mock的问题。<dependency<groupIdorg.powermock</groupId<artifactIdpowermockmodulejunit4</artifactId<versi
Stella981 Stella981
4年前
SpringBoot2单元测试
引入maven依赖引入powermock是为了解决静态方法mock的问题。<dependency<groupIdorg.powermock</groupId<artifactIdpowermockmodulejunit4</artifactId<versi
Stella981 Stella981
4年前
Spring Security3源码分析
RememberMeAuthenticationFilter过滤器对应的类路径为org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter看主要的doFilter方法publicvoiddoFilter(Se
Stella981 Stella981
4年前
JavaScript 对象和包装类
对象的创建方法{}varobj{}系统自带的构造函数varobjnewObject()//Array()//Number()自定义的构造函数functionPerson(){}varperson1newPe
Stella981 Stella981
4年前
BigDecimal去除末尾多余的0
Java有自带的stripTrailingZeros()方法用于去除末尾多余的0BigDecimalnumnewBigDecimal("100.000");BigDecimalnumNoEndZeronum.stripTrailingZeros();//numNoEndZero:1E2Sys
Wesley13 Wesley13
4年前
Java List集合中元素比较大小
list排序方法一Comparator形式:1.比较数字List<Shoesall_shoesnewArrayList<Shoes();Collections.sort(all_shoes,newComparator<Shoes(){@Override/
Wesley13 Wesley13
4年前
Rust编程进阶:009、trait_bound有条件的实现方法
使用trait\_bound有条件的实现方法:traitGetName{fnget_name(&self)&String;}traitGetAge{fnget_age(&self)u32;}structPeopleMatc
从keys命令出发-浅谈redis的字典和字典迭代器
1.keys命令keys命令相信大家应该都用过,该命令会遍历整个redis的字典空间,对要查找的key进行匹配并返回。就像官方文档所说:在生产环境使用该方法的过程中要非常小心,因为redis服务器在执行该命令的时候其他客户端读写命令都会被阻塞。使用方法:K
近屿智能 近屿智能
9个月前
减负86%+满意度98%:AI得贤招聘官如何让超大型外资科技企业校招质量效率双杀?
校园招聘的挑战,如何突破?在全球化人才竞争日益激烈的今天,企业如何在海量候选人中精准甄选人才,成为决定招聘成败的关键。以超大型外资科技企业为例,其每年校招收到超过20万份简历,候选人遍布美国、英国、新加坡、日本等多个国家,HR不仅需要在短时间内完成筛选,还