├── .github └── workflows │ ├── build.yml │ ├── deploy.yml │ └── release.yml ├── .gitignore ├── .mvn └── wrapper │ ├── MavenWrapperDownloader.java │ ├── maven-wrapper.jar │ └── maven-wrapper.properties ├── LICENSE ├── README.md ├── codecov.yml ├── mvnw ├── mvnw.cmd ├── pom.xml ├── settings.xml └── src ├── main └── kotlin │ └── io │ └── github │ └── kezhenxu94 │ └── cache │ └── lite │ ├── Cache.kt │ ├── GenericCache.kt │ └── impl │ ├── ExpirableCache.kt │ ├── FIFOCache.kt │ ├── LRUCache.kt │ ├── PerpetualCache.kt │ ├── SoftCache.kt │ └── WeakCache.kt └── test └── kotlin └── io └── github └── kezhenxu94 └── cache └── lite ├── BaseCacheTest.kt └── impl ├── ExpirableCacheTest.kt ├── FIFOCacheTest.kt ├── LRUCacheTest.kt ├── PerpetualCacheTest.kt ├── SoftCacheTest.kt └── WeakCacheTest.kt /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/.github/workflows/deploy.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | build/ 3 | target/ 4 | *.iml 5 | -------------------------------------------------------------------------------- /.mvn/wrapper/MavenWrapperDownloader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/.mvn/wrapper/MavenWrapperDownloader.java -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/README.md -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/codecov.yml -------------------------------------------------------------------------------- /mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/mvnw -------------------------------------------------------------------------------- /mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/mvnw.cmd -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/pom.xml -------------------------------------------------------------------------------- /settings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/settings.xml -------------------------------------------------------------------------------- /src/main/kotlin/io/github/kezhenxu94/cache/lite/Cache.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/src/main/kotlin/io/github/kezhenxu94/cache/lite/Cache.kt -------------------------------------------------------------------------------- /src/main/kotlin/io/github/kezhenxu94/cache/lite/GenericCache.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/src/main/kotlin/io/github/kezhenxu94/cache/lite/GenericCache.kt -------------------------------------------------------------------------------- /src/main/kotlin/io/github/kezhenxu94/cache/lite/impl/ExpirableCache.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/src/main/kotlin/io/github/kezhenxu94/cache/lite/impl/ExpirableCache.kt -------------------------------------------------------------------------------- /src/main/kotlin/io/github/kezhenxu94/cache/lite/impl/FIFOCache.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/src/main/kotlin/io/github/kezhenxu94/cache/lite/impl/FIFOCache.kt -------------------------------------------------------------------------------- /src/main/kotlin/io/github/kezhenxu94/cache/lite/impl/LRUCache.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/src/main/kotlin/io/github/kezhenxu94/cache/lite/impl/LRUCache.kt -------------------------------------------------------------------------------- /src/main/kotlin/io/github/kezhenxu94/cache/lite/impl/PerpetualCache.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/src/main/kotlin/io/github/kezhenxu94/cache/lite/impl/PerpetualCache.kt -------------------------------------------------------------------------------- /src/main/kotlin/io/github/kezhenxu94/cache/lite/impl/SoftCache.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/src/main/kotlin/io/github/kezhenxu94/cache/lite/impl/SoftCache.kt -------------------------------------------------------------------------------- /src/main/kotlin/io/github/kezhenxu94/cache/lite/impl/WeakCache.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/src/main/kotlin/io/github/kezhenxu94/cache/lite/impl/WeakCache.kt -------------------------------------------------------------------------------- /src/test/kotlin/io/github/kezhenxu94/cache/lite/BaseCacheTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/src/test/kotlin/io/github/kezhenxu94/cache/lite/BaseCacheTest.kt -------------------------------------------------------------------------------- /src/test/kotlin/io/github/kezhenxu94/cache/lite/impl/ExpirableCacheTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/src/test/kotlin/io/github/kezhenxu94/cache/lite/impl/ExpirableCacheTest.kt -------------------------------------------------------------------------------- /src/test/kotlin/io/github/kezhenxu94/cache/lite/impl/FIFOCacheTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/src/test/kotlin/io/github/kezhenxu94/cache/lite/impl/FIFOCacheTest.kt -------------------------------------------------------------------------------- /src/test/kotlin/io/github/kezhenxu94/cache/lite/impl/LRUCacheTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/src/test/kotlin/io/github/kezhenxu94/cache/lite/impl/LRUCacheTest.kt -------------------------------------------------------------------------------- /src/test/kotlin/io/github/kezhenxu94/cache/lite/impl/PerpetualCacheTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/src/test/kotlin/io/github/kezhenxu94/cache/lite/impl/PerpetualCacheTest.kt -------------------------------------------------------------------------------- /src/test/kotlin/io/github/kezhenxu94/cache/lite/impl/SoftCacheTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/src/test/kotlin/io/github/kezhenxu94/cache/lite/impl/SoftCacheTest.kt -------------------------------------------------------------------------------- /src/test/kotlin/io/github/kezhenxu94/cache/lite/impl/WeakCacheTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhenxu94/cache-lite/HEAD/src/test/kotlin/io/github/kezhenxu94/cache/lite/impl/WeakCacheTest.kt --------------------------------------------------------------------------------