Skip to content

nat-chen/annotation-based-cache-decorator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

基于注解的缓存装饰器

装饰器模式decorator pattern是一种非常常用的高级设计模式。

请实现一个基于@Cache注解的装饰器,能够将传入的服务类的Class进行装饰,使之具有缓存功能。

在提交Pull Request之前,你应当在本地确保所有代码已经编译通过,并且通过了测试(mvn clean verify)


注意!我们只允许你修改以下文件,对其他文件的修改会被拒绝:


完成题目有困难?不妨来看看写代码啦的相应课程吧!

回到写代码啦的题目,继续挑战! 

About

Java basic practice for beginners: annotation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 87.6%
  • Shell 12.4%