Index

A B C D E F G I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

accept(T) - Method in interface cn.longky.common.function.KConsumer
Performs this operation on the given argument.
accept(T, U, V) - Method in interface cn.longky.common.function.TriConsumer
 
addAttribute(String, Object) - Method in class cn.longky.common.model.AttributiveEntity
 
andThen(KConsumer<? super T>) - Method in interface cn.longky.common.function.KConsumer
Returns a composed Consumer that performs, in sequence, this operation followed by the after operation.
andThen(KFunction<? super R, ? extends V>) - Method in interface cn.longky.common.function.KFunction
Returns a composed function that first applies this function to its input, and then applies the after function to the result.
andThen(TriConsumer<? super T, ? super U, ? super V>) - Method in interface cn.longky.common.function.TriConsumer
 
andThen(Function<? super R, ? extends W>) - Method in interface cn.longky.common.function.TriFunction
 
apply(T) - Method in interface cn.longky.common.function.KFunction
Applies this function to the given argument.
apply(T, U, V) - Method in interface cn.longky.common.function.TriFunction
 
asDate(LocalDate) - Static method in class cn.longky.common.utils.DateTimeUtils
 
asDate(LocalDateTime) - Static method in class cn.longky.common.utils.DateTimeUtils
 
asInstant(long) - Static method in class cn.longky.common.utils.DateTimeUtils
 
asInstant(LocalDate) - Static method in class cn.longky.common.utils.DateTimeUtils
 
asInstant(LocalDateTime) - Static method in class cn.longky.common.utils.DateTimeUtils
 
asInstant(Date) - Static method in class cn.longky.common.utils.DateTimeUtils
 
asInt(Number) - Static method in class cn.longky.common.utils.NumericUtils
 
asLocalDate(Long) - Static method in class cn.longky.common.utils.DateTimeUtils
 
asLocalDate(Date) - Static method in class cn.longky.common.utils.DateTimeUtils
 
asLocalDateTime(Long) - Static method in class cn.longky.common.utils.DateTimeUtils
 
asLocalDateTime(Date) - Static method in class cn.longky.common.utils.DateTimeUtils
 
asLong(Number) - Static method in class cn.longky.common.utils.NumericUtils
 
assertTrue(boolean) - Method in class cn.longky.common.model.BizErrorCode
 
assertTrue(boolean, String) - Method in class cn.longky.common.model.BizErrorCode
 
assertTrue(boolean, String, Object...) - Method in class cn.longky.common.model.BizErrorCode
 
asShort(Number) - Static method in class cn.longky.common.utils.NumericUtils
 
asTimestamp(LocalDate) - Static method in class cn.longky.common.utils.DateTimeUtils
 
asTimestamp(LocalDateTime) - Static method in class cn.longky.common.utils.DateTimeUtils
 
asTimestamp(Date) - Static method in class cn.longky.common.utils.DateTimeUtils
 
AttributiveEntity<T extends AttributiveEntity> - Class in cn.longky.common.model
 
AttributiveEntity() - Constructor for class cn.longky.common.model.AttributiveEntity
 

B

BaseEntity<T extends BaseEntity> - Class in cn.longky.common.model
 
BaseEntity() - Constructor for class cn.longky.common.model.BaseEntity
 
BigDecimalSerializer - Class in cn.longky.common.serializer
 
BigDecimalSerializer() - Constructor for class cn.longky.common.serializer.BigDecimalSerializer
 
BigDecimalSerializer(DecimalFormat) - Constructor for class cn.longky.common.serializer.BigDecimalSerializer
 
BizErrorCode - Class in cn.longky.common.model
业务错误码
BizErrorCode() - Constructor for class cn.longky.common.model.BizErrorCode
 

C

cn.longky.common.function - package cn.longky.common.function
 
cn.longky.common.handler - package cn.longky.common.handler
 
cn.longky.common.model - package cn.longky.common.model
 
cn.longky.common.reflection - package cn.longky.common.reflection
 
cn.longky.common.serializer - package cn.longky.common.serializer
 
cn.longky.common.utils - package cn.longky.common.utils
 
cn.longky.common.validation.constraint - package cn.longky.common.validation.constraint
 
cn.longky.common.validation.validator - package cn.longky.common.validation.validator
 
commaJoin(Collection<String>) - Static method in class cn.longky.common.utils.StringUtils
 
commaJoin(Collection<T>, Function<T, String>) - Static method in class cn.longky.common.utils.StringUtils
 
commaSplit(String) - Static method in class cn.longky.common.utils.StringUtils
 
commaSplit(String, Function<String, T>) - Static method in class cn.longky.common.utils.StringUtils
 
CommonUtils - Class in cn.longky.common.utils
 
CommonUtils() - Constructor for class cn.longky.common.utils.CommonUtils
 
compose(KFunction<? super V, ? extends T>) - Method in interface cn.longky.common.function.KFunction
Returns a composed function that first applies the before function to its input, and then applies this function to the result.
contains(String) - Method in interface cn.longky.common.utils.TemplateUtils.TemplateArgMap
 
contains(T, T...) - Static method in class cn.longky.common.utils.CommonUtils
 
convert(Integer, Class<T>) - Static method in class cn.longky.common.utils.ConvertUtils
 
convert(String, Class<T>) - Static method in class cn.longky.common.utils.ConvertUtils
 
convert(Collection<S>, Function<S, T>) - Static method in class cn.longky.common.utils.ConvertUtils
 
convert(S, Class<T>, Function<T, S>) - Static method in class cn.longky.common.utils.ConvertUtils
 
convert(T, Supplier<R>, Function<U, V>) - Static method in class cn.longky.common.utils.ConvertUtils
集合类型转换
convert2Int(String, Class<T>) - Static method in class cn.longky.common.utils.ConvertUtils
 
convert2String(Integer, Class<T>) - Static method in class cn.longky.common.utils.ConvertUtils
 
ConvertUtils - Class in cn.longky.common.utils
 
ConvertUtils() - Constructor for class cn.longky.common.utils.ConvertUtils
 
createContextual(SerializerProvider, BeanProperty) - Method in class cn.longky.common.serializer.BigDecimalSerializer
 
createTime - Variable in class cn.longky.common.model.BaseEntity
创建时间

D

DateTimeUtils - Class in cn.longky.common.utils
 
DateTimeUtils() - Constructor for class cn.longky.common.utils.DateTimeUtils
 
decimalFormat - Variable in class cn.longky.common.serializer.BigDecimalSerializer
 
DEFAULT_PAGE_NUM - Static variable in class cn.longky.common.model.PageQuery
 
DEFAULT_PAGE_SIZE - Static variable in class cn.longky.common.model.PageQuery
 
durationOf(LocalDateTime) - Static method in class cn.longky.common.utils.DateTimeUtils
 

E

encryptPassword(String, String) - Static method in class cn.longky.common.utils.CommonUtils
 
EncryptUtils - Class in cn.longky.common.utils
 
EncryptUtils() - Constructor for class cn.longky.common.utils.EncryptUtils
 
ErrorCode - Interface in cn.longky.common.model
错误码

F

FileInfo - Class in cn.longky.common.model
 
FileInfo() - Constructor for class cn.longky.common.model.FileInfo
 
findFormatOverrides(SerializerProvider, BeanProperty, Class<?>) - Method in class cn.longky.common.serializer.BigDecimalSerializer
 
firstMatch(Function<T, Boolean>, T...) - Static method in class cn.longky.common.utils.CommonUtils
 
firstMatchWithSuppliers(Function<T, Boolean>, Supplier<T>...) - Static method in class cn.longky.common.utils.CommonUtils
 
firstNonnull(T...) - Static method in class cn.longky.common.utils.CommonUtils
 
firstNonnull(T, Supplier<T>...) - Static method in class cn.longky.common.utils.CommonUtils
 
format(String, TemplateUtils.TemplateArgMap) - Static method in class cn.longky.common.utils.TemplateUtils
 
format(String, Object...) - Static method in class cn.longky.common.utils.StringUtils
 
format(String, Object...) - Static method in class cn.longky.common.utils.TemplateUtils
 
format(String, Map<String, Object>) - Static method in class cn.longky.common.utils.TemplateUtils
 
format(LocalDateTime, String) - Static method in class cn.longky.common.utils.DateTimeUtils
 

G

generateRandomString(int, boolean, boolean) - Static method in class cn.longky.common.utils.CommonUtils
 
generateUniqueCodeByUid(long, int, boolean) - Static method in class cn.longky.common.utils.CommonUtils
 
generateUniqueCodeByUid(long, int, boolean, int, long) - Static method in class cn.longky.common.utils.CommonUtils
 
get() - Method in interface cn.longky.common.function.KSupplier
Gets a result.
get() - Method in interface cn.longky.common.function.ThrowableSupplier
 
get(String) - Method in interface cn.longky.common.utils.TemplateUtils.TemplateArgMap
 
getArguments() - Method in interface cn.longky.common.reflection.KMethodInvocation
 
getAttribute(String, Class<U>) - Method in class cn.longky.common.model.AttributiveEntity
 
getAttribute(String, Class<U>, U) - Method in class cn.longky.common.model.AttributiveEntity
 
getCause() - Method in exception cn.longky.common.model.KRuntimeException
 
getCauseMessage() - Method in exception cn.longky.common.model.KException
 
getCode() - Method in interface cn.longky.common.model.ErrorCode
一般是短小凝练的英文单词组合(大写下划线命名)
getCurrentVersionDaily() - Static method in class cn.longky.common.utils.DateTimeUtils
 
getCurrentVersionTimestamp() - Static method in class cn.longky.common.utils.DateTimeUtils
 
getMessage() - Method in interface cn.longky.common.model.ErrorCode
一般是可读性较强的描述型语句
getMethod() - Method in interface cn.longky.common.reflection.KMethodInvocation
 
getNullableResult(CallableStatement, int) - Method in class cn.longky.common.handler.LocalDateTimeTypeHandler
 
getNullableResult(CallableStatement, int) - Method in class cn.longky.common.handler.LocalDateTypeHandler
 
getNullableResult(CallableStatement, int) - Method in class cn.longky.common.handler.StringListTypeHandler
 
getNullableResult(CallableStatement, int) - Method in class cn.longky.common.handler.StringMapTypeHandler
 
getNullableResult(ResultSet, int) - Method in class cn.longky.common.handler.LocalDateTimeTypeHandler
 
getNullableResult(ResultSet, int) - Method in class cn.longky.common.handler.LocalDateTypeHandler
 
getNullableResult(ResultSet, int) - Method in class cn.longky.common.handler.StringListTypeHandler
 
getNullableResult(ResultSet, int) - Method in class cn.longky.common.handler.StringMapTypeHandler
 
getNullableResult(ResultSet, String) - Method in class cn.longky.common.handler.LocalDateTimeTypeHandler
 
getNullableResult(ResultSet, String) - Method in class cn.longky.common.handler.LocalDateTypeHandler
 
getNullableResult(ResultSet, String) - Method in class cn.longky.common.handler.StringListTypeHandler
 
getNullableResult(ResultSet, String) - Method in class cn.longky.common.handler.StringMapTypeHandler
 
getPageNum() - Method in class cn.longky.common.model.PageQuery
 
getPageSize() - Method in class cn.longky.common.model.PageQuery
 
getSecondsByDay(int) - Static method in class cn.longky.common.utils.DateTimeUtils
 
getThis() - Method in interface cn.longky.common.reflection.KMethodInvocation
 
getUuid() - Static method in class cn.longky.common.utils.CommonUtils
 
getUuid(String) - Static method in class cn.longky.common.utils.CommonUtils
 
getVersionDaily(LocalDate) - Static method in class cn.longky.common.utils.DateTimeUtils
 
getVersionDaily(LocalDateTime) - Static method in class cn.longky.common.utils.DateTimeUtils
 
getVersionTimestamp(LocalDateTime) - Static method in class cn.longky.common.utils.DateTimeUtils
 
groups() - Element in annotation interface cn.longky.common.validation.constraint.Phone
 

I

id - Variable in class cn.longky.common.model.BaseEntity
自增主键
identity() - Static method in interface cn.longky.common.function.KFunction
Returns a function that always returns its input argument.
invoke(KMethodInvocation) - Method in interface cn.longky.common.reflection.KMethodInterceptor
 
invoke(Object, Method, Object[]) - Method in class cn.longky.common.reflection.KInvocationHandler
 
isNumeric(String) - Static method in class cn.longky.common.utils.NumericUtils
 
isValid(CharSequence, ConstraintValidatorContext) - Method in class cn.longky.common.validation.validator.PhoneValidator
 

K

KConsumer<T> - Interface in cn.longky.common.function
 
KException - Exception in cn.longky.common.model
服务异常
KException(ErrorCode) - Constructor for exception cn.longky.common.model.KException
 
KException(ErrorCode, Throwable) - Constructor for exception cn.longky.common.model.KException
 
KException(String, String) - Constructor for exception cn.longky.common.model.KException
 
KException(String, String, Throwable) - Constructor for exception cn.longky.common.model.KException
 
KFunction<T,R> - Interface in cn.longky.common.function
Represents a function that accepts one argument and produces a result.
KInvocationHandler - Class in cn.longky.common.reflection
 
KInvocationHandler() - Constructor for class cn.longky.common.reflection.KInvocationHandler
 
KMethodInterceptor - Interface in cn.longky.common.reflection
方法调用拦截器
KMethodInvocation - Interface in cn.longky.common.reflection
 
KRunnable - Interface in cn.longky.common.function
The KRunnable interface should be implemented by any class whose instances are intended to be executed by a thread.
KRuntimeException - Exception in cn.longky.common.model
运行时异常
KRuntimeException(KException) - Constructor for exception cn.longky.common.model.KRuntimeException
 
KSupplier<T> - Interface in cn.longky.common.function
Represents a supplier of results.

L

LocalDateTimeTypeHandler - Class in cn.longky.common.handler
 
LocalDateTimeTypeHandler() - Constructor for class cn.longky.common.handler.LocalDateTimeTypeHandler
 
LocalDateTypeHandler - Class in cn.longky.common.handler
 
LocalDateTypeHandler() - Constructor for class cn.longky.common.handler.LocalDateTypeHandler
 

M

MAX_PAGE_SIZE - Static variable in class cn.longky.common.model.PageQuery
 
md5(String) - Static method in class cn.longky.common.utils.EncryptUtils
 
message() - Element in annotation interface cn.longky.common.validation.constraint.Phone
 

N

newProxy(Class<T>, Object, List<KMethodInterceptor>) - Static method in class cn.longky.common.utils.ReflectionUtils
 
NumericUtils - Class in cn.longky.common.utils
 
NumericUtils() - Constructor for class cn.longky.common.utils.NumericUtils
 

O

of() - Static method in class cn.longky.common.model.PageInfo
 
of(int, int) - Static method in class cn.longky.common.model.PageInfo
 
of(int, int, long) - Static method in class cn.longky.common.model.PageInfo
 
of(int, int, long, List<T>) - Static method in class cn.longky.common.model.PageInfo
 
of(PageInfo<? extends T>) - Static method in class cn.longky.common.model.PageInfo
 
of(List<T>) - Static method in class cn.longky.common.model.PageInfo
 
ofError(ErrorCode) - Static method in class cn.longky.common.model.Result
构造请求结果
ofError(String, String) - Static method in class cn.longky.common.model.Result
构造请求结果
ofSuccess(T) - Static method in class cn.longky.common.model.Result
构造请求结果
ofThrowable(Throwable) - Static method in class cn.longky.common.model.Result
构造请求结果

P

PageInfo<T> - Class in cn.longky.common.model
分页信息
PageQuery - Class in cn.longky.common.model
分页查询参数
PageQuery() - Constructor for class cn.longky.common.model.PageQuery
 
PageQuery(int) - Constructor for class cn.longky.common.model.PageQuery
 
PageQuery(int, int) - Constructor for class cn.longky.common.model.PageQuery
 
parseBoolean(Object) - Static method in class cn.longky.common.utils.CommonUtils
 
parseInt(Object) - Static method in class cn.longky.common.utils.CommonUtils
 
parseLong(Object) - Static method in class cn.longky.common.utils.CommonUtils
 
payload() - Element in annotation interface cn.longky.common.validation.constraint.Phone
 
Phone - Annotation Interface in cn.longky.common.validation.constraint
 
Phone.List - Annotation Interface in cn.longky.common.validation.constraint
 
PhoneValidator - Class in cn.longky.common.validation.validator
 
PhoneValidator() - Constructor for class cn.longky.common.validation.validator.PhoneValidator
 
PLACEHOLDER_CLOSE - Static variable in class cn.longky.common.utils.TemplateUtils
 
PLACEHOLDER_OPEN - Static variable in class cn.longky.common.utils.TemplateUtils
 
proceed() - Method in interface cn.longky.common.reflection.KMethodInvocation
 

R

ReflectionUtils - Class in cn.longky.common.utils
utilities relating to Java reflection
ReflectionUtils() - Constructor for class cn.longky.common.utils.ReflectionUtils
 
Result<T> - Class in cn.longky.common.model
请求结果
Result() - Constructor for class cn.longky.common.model.Result
 
Result(boolean) - Constructor for class cn.longky.common.model.Result
 
retry(KSupplier<T>, int) - Static method in class cn.longky.common.utils.CommonUtils
 
retry(KSupplier<T>, int, Duration, Class<? extends Throwable>, Predicate<T>) - Static method in class cn.longky.common.utils.CommonUtils
 
retry(KSupplier<T>, int, Duration, Class<? extends Throwable>, Predicate<T>, T) - Static method in class cn.longky.common.utils.CommonUtils
 
rfc3339Format(LocalDateTime) - Static method in class cn.longky.common.utils.DateTimeUtils
 
run() - Method in interface cn.longky.common.function.KRunnable
When an object implementing interface KRunnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.

S

safeCast(Object, Class<T>) - Static method in class cn.longky.common.utils.CommonUtils
 
serialize(BigDecimal, JsonGenerator, SerializerProvider) - Method in class cn.longky.common.serializer.BigDecimalSerializer
 
setCreateTime(LocalDateTime) - Method in class cn.longky.common.model.BaseEntity
 
setId(Long) - Method in class cn.longky.common.model.BaseEntity
 
setNonNullParameter(PreparedStatement, int, LocalDate, JdbcType) - Method in class cn.longky.common.handler.LocalDateTypeHandler
 
setNonNullParameter(PreparedStatement, int, LocalDateTime, JdbcType) - Method in class cn.longky.common.handler.LocalDateTimeTypeHandler
 
setNonNullParameter(PreparedStatement, int, List<String>, JdbcType) - Method in class cn.longky.common.handler.StringListTypeHandler
 
setNonNullParameter(PreparedStatement, int, Map<String, Object>, JdbcType) - Method in class cn.longky.common.handler.StringMapTypeHandler
 
setUpdateTime(LocalDateTime) - Method in class cn.longky.common.model.BaseEntity
 
sha256(String) - Static method in class cn.longky.common.utils.EncryptUtils
 
simpleFormat(LocalDateTime) - Static method in class cn.longky.common.utils.DateTimeUtils
 
stringify(long) - Static method in class cn.longky.common.utils.DateTimeUtils
 
stringify(long, TimeUnit, TimeUnit) - Static method in class cn.longky.common.utils.DateTimeUtils
序列化时间
stringify(Duration, TimeUnit, TimeUnit) - Static method in class cn.longky.common.utils.DateTimeUtils
 
stringifySize(long) - Static method in class cn.longky.common.utils.CommonUtils
 
StringListTypeHandler - Class in cn.longky.common.handler
StringList类型转换
StringListTypeHandler() - Constructor for class cn.longky.common.handler.StringListTypeHandler
 
StringMapTypeHandler - Class in cn.longky.common.handler
StringMap类型转换
StringMapTypeHandler() - Constructor for class cn.longky.common.handler.StringMapTypeHandler
 
StringUtils - Class in cn.longky.common.utils
 
StringUtils() - Constructor for class cn.longky.common.utils.StringUtils
 
swallowException(KRunnable) - Static method in class cn.longky.common.utils.CommonUtils
 
swallowException(KSupplier<T>) - Static method in class cn.longky.common.utils.CommonUtils
 

T

TemplateUtils - Class in cn.longky.common.utils
模板渲染解析工具
TemplateUtils() - Constructor for class cn.longky.common.utils.TemplateUtils
 
TemplateUtils.TemplateArgMap - Interface in cn.longky.common.utils
 
ThrowableSupplier<T,E extends Throwable> - Interface in cn.longky.common.function
 
toByte(String) - Static method in class cn.longky.common.utils.NumericUtils
 
toByte(String, byte) - Static method in class cn.longky.common.utils.NumericUtils
 
toDouble(String) - Static method in class cn.longky.common.utils.NumericUtils
 
toDouble(String, double) - Static method in class cn.longky.common.utils.NumericUtils
 
toException() - Method in class cn.longky.common.model.BizErrorCode
 
toException(String) - Method in class cn.longky.common.model.BizErrorCode
 
toException(String, Object...) - Method in class cn.longky.common.model.BizErrorCode
 
toException(Throwable) - Method in class cn.longky.common.model.BizErrorCode
 
toFloat(String) - Static method in class cn.longky.common.utils.NumericUtils
 
toFloat(String, float) - Static method in class cn.longky.common.utils.NumericUtils
 
toInt(String) - Static method in class cn.longky.common.utils.NumericUtils
 
toInt(String, int) - Static method in class cn.longky.common.utils.NumericUtils
 
toLong(String) - Static method in class cn.longky.common.utils.NumericUtils
 
toLong(String, long) - Static method in class cn.longky.common.utils.NumericUtils
 
toResult() - Method in class cn.longky.common.model.BizErrorCode
 
toResult(String) - Method in class cn.longky.common.model.BizErrorCode
 
toResult(String, Object...) - Method in class cn.longky.common.model.BizErrorCode
 
toRuntime() - Method in exception cn.longky.common.model.KException
 
toRuntimeException() - Method in class cn.longky.common.model.BizErrorCode
 
toRuntimeException(String) - Method in class cn.longky.common.model.BizErrorCode
 
toRuntimeException(String, Object...) - Method in class cn.longky.common.model.BizErrorCode
 
toShort(String) - Static method in class cn.longky.common.utils.NumericUtils
 
toShort(String, short) - Static method in class cn.longky.common.utils.NumericUtils
 
TriConsumer<T,U,V> - Interface in cn.longky.common.function
 
TriFunction<T,U,V,R> - Interface in cn.longky.common.function
 
tryWrap(Throwable) - Method in exception cn.longky.common.model.KException
 
tryWrapUnknown(Throwable) - Static method in exception cn.longky.common.model.KException
 

U

updateTime - Variable in class cn.longky.common.model.BaseEntity
修改时间

V

validatePassword(String, String, String) - Static method in class cn.longky.common.utils.CommonUtils
 
value() - Element in annotation interface cn.longky.common.validation.constraint.Phone.List
 

W

withError(ErrorCode) - Method in class cn.longky.common.model.Result
构造请求错误结果
withError(String, String) - Method in class cn.longky.common.model.Result
构造请求结果
withSuccess(T) - Method in class cn.longky.common.model.Result
构造请求结果
withThrowable(Throwable) - Method in class cn.longky.common.model.Result
构造请求异常结果
A B C D E F G I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form