Java
yangyh22
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Double 类型精度问题
public static void main(String[] args) { double d1 = 1.1D; double d2 = 2.2D; double d3 = d1+d2; System.out.println("d1+d2= "+d3); BigDecimal b1 = new BigDecima...原创 2018-08-08 17:06:27 · 3381 阅读 · 0 评论 -
自定义validate注解校验
/** * @author yangyh * @since 2018/10/18 */@Target({METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER})@Retention(RUNTIME)@Documented@Constraint(validatedBy = ListStringLength.ListStrin...原创 2018-10-18 14:06:36 · 1660 阅读 · 0 评论
分享