推荐
专栏
教程
课程
飞鹅
本次共找到3445条
类属性
相关的信息
Wesley13
•
4年前
java对象
子父类间的成员方法关系: 子类调用的时候,先用的是自己的,如果没有再使用父亲的。如果父亲没有,就使 用父亲的父亲的...,最后,如果没有,就报错。 当子类中有和父类一模一样的方法的时候,子类使用的是自己的。 这种现象被称为方法(覆盖,复写,)重写。方法重写:
Wesley13
•
4年前
java生产者消费者问题(线程同步与线程等待的应用)
生产者/类说明:生产者@author作者:user@version创建时间:201145下午01:48:11/publicclassProducerimplementsRunnable{privateSyncSt
梦
•
4年前
微信小程序验证邮箱,验证手机号
笔记类varthatthisthat.optional()是验证是否为空方法/验证邮箱格式/email(value){returnthat.optional(value)||/^azAZ09.$%&'\/?^_{|}@azAZ
Stella981
•
4年前
Elastic
JobScheduler是elasticjob作业调度的关键类,也是起始类,在包com.dangdang.ddframe.job.lite.api下。调度任务的执行需要包含两大步骤:任务的配置和任务的注册。JobScheduler的构造函数除了任务配置和注册相关信息之外还有事件和监听。后两者是elasticjob的扩展功能,我们后续再介绍。任务的配置
Stella981
•
4年前
Spring Security3源码分析
RememberMeAuthenticationFilter过滤器对应的类路径为org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter看主要的doFilter方法publicvoiddoFilter(Se
Stella981
•
4年前
Redis学习总结
Redisson配置类:packagecom.example.demo.configuration;importorg.redisson.Redisson;importorg.redisson.api.RedissonClient;importorg.redisson.config.Config;importorg.spr
Wesley13
•
4年前
C++模版全掌握(实例)
下面列出了模版的常用情况://1\.模板类静态成员template<typenameT\structtestClass{staticint\_data;};template<inttestClass<char\::\_data\1;template<int
Stella981
•
4年前
SpringBoot+redis 实现shiro集群,共享session。亲测可用
1.序列化工具类:importorg.springframework.data.redis.serializer.RedisSerializer;importorg.springframework.data.redis.serializer.SerializationException;importorg.sp
Easter79
•
4年前
SpringBoot+redis 实现shiro集群,共享session。亲测可用
1.序列化工具类:importorg.springframework.data.redis.serializer.RedisSerializer;importorg.springframework.data.redis.serializer.SerializationException;importorg.sp
京东云开发者
•
2年前
SimpleDateFormat 线程安全问题修复方案 | 京东物流技术团队
在日常的开发过程中,我们不可避免地会使用到JDK8之前的Date类,在格式化日期或解析日期时就需要用到SimpleDateFormat类,但由于该类并不是线程安全的,所以我们常发现对该类的不恰当使用会导致日期解析异常,从而影响线上服务可用率。
1
•••
156
157
158
•••
345