docs: added javadoc
This commit is contained in:
@@ -28,6 +28,16 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
public final class ListUtil {
|
public final class ListUtil {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Private constructor to prevent instantiation of this utility class.
|
||||||
|
* <p>
|
||||||
|
* This class provides static methods for list manipulation and is not intended to be
|
||||||
|
* instantiated. The private constructor ensures that no instances can be created, enforcing
|
||||||
|
* the utility nature of the class.
|
||||||
|
*/
|
||||||
|
private ListUtil() {
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Splits a given List into a List of sub lists, where each sublist contains at most
|
* Splits a given List into a List of sub lists, where each sublist contains at most
|
||||||
* {@code maxSize} elements. The original list is not modified, and new sub lists are created
|
* {@code maxSize} elements. The original list is not modified, and new sub lists are created
|
||||||
|
|||||||
@@ -32,6 +32,12 @@ import org.springframework.data.redis.serializer.RedisSerializer;
|
|||||||
@AutoConfiguration
|
@AutoConfiguration
|
||||||
public class RedisConfig {
|
public class RedisConfig {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Redis auto configuration.
|
||||||
|
*/
|
||||||
|
public RedisConfig() {
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* RedisTemplate for serial service.
|
* RedisTemplate for serial service.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user