摘要:
第一个标志这个方法是泛型方法,第二个是List<T>是返回值。泛型方法返回值前必须带一个<T>,这是一种约定,表示该方法是泛型方法,否则报错。 public static <T> List<T> set2List2(Set<T> set) { List<T> list = new ArrayList 阅读全文

posted @ 2023-10-29 16:06
残城碎梦
阅读(143)
评论(0)
推荐(0)
摘要:
import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; import org.springframework.context.Application 阅读全文

posted @ 2023-10-29 10:57
残城碎梦
阅读(36)
评论(0)
推荐(0)
摘要:
Redis是一个key-value存储系统。和Memcached类似,它支持存储的value类型相对更多,包括string(字符串)、list(链表)、set(集合)、zset(sorted set有序集合)和hash(哈希类型)。这些数据类型都支持push/pop、add/remove及取交集并集 阅读全文

posted @ 2023-10-29 10:31
残城碎梦
阅读(419)
评论(0)
推荐(0)