chore: 修改 author 信息 (plusone/plusone-validator#16 from gitea)

Co-authored-by: ZhouXY108 <luquanlion@outlook.com>
Co-committed-by: ZhouXY108 <luquanlion@outlook.com>
This commit is contained in:
2025-07-25 17:32:15 +08:00
committed by zhouxy108
parent 7d0a25144b
commit 75a3c7798a
22 changed files with 22 additions and 22 deletions

View File

@@ -31,7 +31,7 @@ import xyz.zhouxy.plusone.commons.util.AssertTools;
*
* @param <T> 待校验对象的类型
* @param <E> 数组元素的类型
* @author ZhouXY
* @author ZhouXY108 <luquanlion@outlook.com>
*/
public class ArrayPropertyValidator<T, E>
extends BasePropertyValidator<T, E[], ArrayPropertyValidator<T, E>> {

View File

@@ -29,7 +29,7 @@ import com.google.common.collect.Range;
* @param <TProperty> 待校验属性的类型,必须实现 {@code Comparable} 接口
* @param <TPropertyValidator> 具体校验器类型,用于支持链式调用
* @see Range
* @author ZhouXY
* @author ZhouXY108 <luquanlion@outlook.com>
*/
public abstract class BaseComparablePropertyValidator<
T,

View File

@@ -33,7 +33,7 @@ import java.util.function.Supplier;
* @param <T> 待校验对象的类型
* @param <TProperty> 待校验属性的类型
* @param <TPropertyValidator> 具体校验器类型,用于支持链式调用
* @author ZhouXY
* @author ZhouXY108 <luquanlion@outlook.com>
*/
public abstract class BasePropertyValidator<
T,

View File

@@ -34,7 +34,7 @@ import xyz.zhouxy.plusone.validator.function.*;
* 子类可通过添加不同的校验规则,构建完整的校验逻辑,用于校验对象。
*
* @param <T> 待校验对象的类型
* @author ZhouXY
* @author ZhouXY108 <luquanlion@outlook.com>
*/
public abstract class BaseValidator<T> implements IValidator<T> {

View File

@@ -27,7 +27,7 @@ import java.util.function.Supplier;
* 用于构建校验 {@code Boolean} 类型属性的规则链。
*
* @param <T> 待校验对象的类型
* @author ZhouXY
* @author ZhouXY108 <luquanlion@outlook.com>
*/
public class BoolPropertyValidator<T>
extends BasePropertyValidator<T, Boolean, BoolPropertyValidator<T>> {

View File

@@ -32,7 +32,7 @@ import xyz.zhouxy.plusone.commons.util.AssertTools;
*
* @param <T> 待校验对象的类型
* @param <E> 集合元素的类型
* @author ZhouXY
* @author ZhouXY108 <luquanlion@outlook.com>
*/
public class CollectionPropertyValidator<T, E>
extends BasePropertyValidator<T, Collection<E>, CollectionPropertyValidator<T, E>> {

View File

@@ -24,7 +24,7 @@ import java.util.function.Function;
* @param <T> 待校验对象的类型
* @param <TProperty> 待校验属性的类型,必须实现 {@code Comparable} 接口
* @see com.google.common.collect.Range
* @author ZhouXY
* @author ZhouXY108 <luquanlion@outlook.com>
*/
public class ComparablePropertyValidator<T, TProperty extends Comparable<TProperty>>
extends BaseComparablePropertyValidator<T, TProperty, ComparablePropertyValidator<T, TProperty>> {

View File

@@ -27,7 +27,7 @@ import java.util.function.Supplier;
* 用于构建校验 {@code Double} 类型属性的规则链。
*
* @param <T> 待校验对象的类型
* @author ZhouXY
* @author ZhouXY108 <luquanlion@outlook.com>
*/
public class DoublePropertyValidator<T>
extends BaseComparablePropertyValidator<T, Double, DoublePropertyValidator<T>> {

View File

@@ -19,7 +19,7 @@ package xyz.zhouxy.plusone.validator;
/**
* 自带校验方法,校验不通过时直接抛异常。
*
* @author ZhouXY
* @author ZhouXY108 <luquanlion@outlook.com>
*
* @see BaseValidator
*/

View File

@@ -23,7 +23,7 @@ package xyz.zhouxy.plusone.validator;
* </p>
*
* @param <T> 待校验对象的类型
* @author ZhouXY
* @author ZhouXY108 <luquanlion@outlook.com>
*/
public interface IValidator<T> {

View File

@@ -27,7 +27,7 @@ import java.util.function.Supplier;
* 用于构建校验 {@code Integer} 类型属性的规则链。
*
* @param <T> 待校验对象的类型
* @author ZhouXY
* @author ZhouXY108 <luquanlion@outlook.com>
*/
public class IntPropertyValidator<T>
extends BaseComparablePropertyValidator<T, Integer, IntPropertyValidator<T>> {

View File

@@ -27,7 +27,7 @@ import java.util.function.Supplier;
* 用于构建校验 {@code Long} 类型属性的规则链。
*
* @param <T> 待校验对象的类型
* @author ZhouXY
* @author ZhouXY108 <luquanlion@outlook.com>
*/
public class LongPropertyValidator<T>
extends BaseComparablePropertyValidator<T, Long, LongPropertyValidator<T>> {

View File

@@ -29,7 +29,7 @@ import java.util.stream.Collectors;
* <p>
* 校验后拷贝出一个新的 Map 对象,仅保留指定的 key。
*
* @author ZhouXY
* @author ZhouXY108 <luquanlion@outlook.com>
*/
public abstract class MapValidator<K, V> extends BaseValidator<Map<K, V>> {

View File

@@ -23,7 +23,7 @@ import java.util.function.Function;
*
* @param <T> 待校验对象的类型
* @param <TProperty> 待校验属性的类型
* @author ZhouXY
* @author ZhouXY108 <luquanlion@outlook.com>
*/
public class ObjectPropertyValidator<T, TProperty>
extends BasePropertyValidator<T, TProperty, ObjectPropertyValidator<T, TProperty>> {

View File

@@ -27,7 +27,7 @@ import java.util.function.Supplier;
* @param <T> 被验证对象类型
* @param <V1> 第一个元素的类型
* @param <V2> 第二个元素的类型
* @author ZhouXY
* @author ZhouXY108 <luquanlion@outlook.com>
*/
public class PairPropertyValidator<T, V1, V2>
extends BasePropertyValidator<T, Entry<V1, V2>, PairPropertyValidator<T, V1, V2>> {

View File

@@ -35,7 +35,7 @@ import xyz.zhouxy.plusone.commons.util.StringTools;
* 用于构建校验 {@code String} 类型属性的规则链。
*
* @param <T> 待校验对象的类型
* @author ZhouXY
* @author ZhouXY108 <luquanlion@outlook.com>
*/
public class StringPropertyValidator<T>
extends BaseComparablePropertyValidator<T, String, StringPropertyValidator<T>> {

View File

@@ -18,7 +18,7 @@ package xyz.zhouxy.plusone.validator;
/**
* 校验失败异常
*
* @author ZhouXY
* @author ZhouXY108 <luquanlion@outlook.com>
*/
public class ValidationException extends RuntimeException {

View File

@@ -21,7 +21,7 @@ import java.util.function.Function;
/**
* Function&lt;T, Boolean&gt;
*
* @author ZhouXY
* @author ZhouXY108 <luquanlion@outlook.com>
*/
@FunctionalInterface
public interface ToBoolObjectFunction<T> extends Function<T, Boolean>, Serializable {

View File

@@ -21,7 +21,7 @@ import java.util.function.Function;
/**
* Function&lt;T, Double&gt;
*
* @author ZhouXY
* @author ZhouXY108 <luquanlion@outlook.com>
*/
@FunctionalInterface
public interface ToDoubleObjectFunction<T> extends Function<T, Double>, Serializable {

View File

@@ -21,7 +21,7 @@ import java.util.function.Function;
/**
* Function&lt;T, Integer&gt;
*
* @author ZhouXY
* @author ZhouXY108 <luquanlion@outlook.com>
*/
@FunctionalInterface
public interface ToIntegerFunction<T> extends Function<T, Integer>, Serializable {

View File

@@ -21,7 +21,7 @@ import java.util.function.Function;
/**
* Function&lt;T, Long&gt;
*
* @author ZhouXY
* @author ZhouXY108 <luquanlion@outlook.com>
*/
@FunctionalInterface
public interface ToLongObjectFunction<T> extends Function<T, Long>, Serializable {

View File

@@ -21,7 +21,7 @@ import java.util.function.Function;
/**
* Function&lt;T, String&gt;
*
* @author ZhouXY
* @author ZhouXY108 <luquanlion@outlook.com>
*/
@FunctionalInterface
public interface ToStringFunction<T> extends Function<T, String>, Serializable {