Spring的断言工具类Assert的基本使用

Assert.notNull(Object object, "object is required")    -    对象非空  Assert.isTrue(Object object, "object must be true")   -    对象必须为true    Assert.notEmpty(Collection collection, "collection must not be
相关文章
相关标签/搜索