pxcking 最近的时间轴更新
pxcking

pxcking

V2EX 第 401385 号会员,加入于 2019-04-13 15:50:31 +08:00
pxcking 最近回复了
public class NotIncludeNullValidator implements ConstraintValidator<NotIncludeNull, Collection<?>> {
@Override
public void initialize(NotIncludeNull constraintAnnotation) {

}

@Override
public boolean isValid(Collection<?> value, ConstraintValidatorContext context) {
// 不校验空集合
if (CollectionUtils.isEmpty(value)) {
return true;
}
for (Object next : value) {
if (next == null) {
return false;
}
}
return true;
}
}
打击电商,扶持实体的手段
85 天前
回复了 windchime 创建的主题 问与答 也许只有经历过得人才能懂
悲观主义其实挺容易走出来的,往往陷的最深的是虚无主义,爬出来太难了,祝楼主能尽快的摆脱出来
103 天前
回复了 dyv9 创建的主题 程序员 请教商品价格排序的性能问题
我们公司很简单,把这种和价格相关的数据全部放到 redis 里,根本不走 mysql
113 天前
回复了 DreamH 创建的主题 程序员 有没有专门分享 prompt 的站点?
2023-04-24 10:02:31 +08:00
回复了 formulahendry 创建的主题 程序员 Awesome GPT 来了!
@lisxour 推荐的全是带有政治色彩的项目
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1060 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 20ms · UTC 23:51 · PVG 07:51 · LAX 16:51 · JFK 19:51
Developed with CodeLauncher
♥ Do have faith in what you're doing.