v1.35.0 更新

This commit is contained in:
click33
2023-06-23 20:11:23 +08:00
parent d1ef107662
commit fe5a02d30a
14 changed files with 81 additions and 13 deletions

View File

@@ -26,7 +26,7 @@ import java.lang.annotation.Target;
* <p> 可标注在方法、类上(效果等同于标注在此类的所有方法上)
*
* @author click33
* @since 1.35.0.RC
* @since 1.35.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD, ElementType.TYPE })

View File

@@ -25,7 +25,7 @@ import java.util.function.Consumer;
* <p> 返回:无 </p>
*
* @author click33
* @since 1.35.0.RC
* @since 1.35.0
*/
@FunctionalInterface
public interface SaCheckElementAnnotationFunction extends Consumer<AnnotatedElement> {

View File

@@ -25,7 +25,7 @@ import java.util.function.Consumer;
* <p> 返回:无 </p>
*
* @author click33
* @since 1.35.0.RC
* @since 1.35.0
*/
@FunctionalInterface
public interface SaCheckMethodAnnotationFunction extends Consumer<Method> {

View File

@@ -26,7 +26,7 @@ import java.util.function.Consumer;
* <p> 返回:无 </p>
*
* @author click33
* @since 1.35.0.RC
* @since 1.35.0
*/
@FunctionalInterface
public interface SaCheckOrAnnotationFunction extends Consumer<SaCheckOr> {

View File

@@ -26,7 +26,7 @@ import java.util.function.Function;
* <p> 返回SaSession对象 </p>
*
* @author click33
* @since 1.35.0.RC
* @since 1.35.0
*/
@FunctionalInterface
public interface SaCreateSessionFunction extends Function<String, SaSession> {

View File

@@ -26,7 +26,7 @@ import java.util.function.Function;
* <p> 返回:创建好的 StpLogic 对象 </p>
*
* @author click33
* @since 1.35.0.RC
* @since 1.35.0
*/
@FunctionalInterface
public interface SaCreateStpLogicFunction extends Function<String, StpLogic> {

View File

@@ -24,7 +24,7 @@ import java.util.function.BiFunction;
* <p> 返回token 值 </p>
*
* @author click33
* @since 1.35.0.RC
* @since 1.35.0
*/
@FunctionalInterface
public interface SaCreateTokenFunction extends BiFunction<Object, String, String> {

View File

@@ -25,7 +25,7 @@ import java.util.function.Supplier;
* <p> 返回生成的token </p>
*
* @author click33
* @since 1.35.0.RC
* @since 1.35.0
*/
@FunctionalInterface
public interface SaGenerateUniqueTokenFunction {

View File

@@ -26,7 +26,7 @@ import java.util.function.BiFunction;
* <p> 返回:注解对象 </p>
*
* @author click33
* @since 1.35.0.RC
* @since 1.35.0
*/
@FunctionalInterface
public interface SaGetAnnotationFunction extends BiFunction<AnnotatedElement, Class<? extends Annotation> , Annotation> {

View File

@@ -25,7 +25,7 @@ import java.util.function.BiFunction;
* <p> 返回:是否包含 </p>
*
* @author click33
* @since 1.35.0.RC
* @since 1.35.0
*/
@FunctionalInterface
public interface SaHasElementFunction extends BiFunction<List<String>, String, Boolean> {

View File

@@ -26,7 +26,7 @@ import java.util.function.BiFunction;
* <p> 返回:是否包含 </p>
*
* @author click33
* @since 1.35.0.RC
* @since 1.35.0
*/
@FunctionalInterface
public interface SaIsAnnotationPresentFunction extends BiFunction<Method, Class<? extends Annotation>, Boolean> {

View File

@@ -20,7 +20,7 @@ package cn.dev33.satoken.util;
* 封装两个值的容器方便取值、写值等操作value1 和 value2 用逗号隔开形如123,abc
*
* @author click33
* @since 1.35.0.RC
* @since 1.35.0
*/
public class SaValue2Box {