expiringmap icon indicating copy to clipboard operation
expiringmap copied to clipboard

Overload put to accept a Duration

Open mishaxz opened this issue 6 years ago • 1 comments

Would be nice to be able to specify an expiry time using a Duration object

mishaxz avatar Oct 25 '17 00:10 mishaxz

Seems that Duration class has been added since Java SE 8: Official Doc I think the project cannot depend on Java 8 because it obviously states the support of Java 6+ in the repository's README: "Supports Java 6+ though the documentation uses lambdas for simplicity."

losingsleeep avatar Jun 04 '18 04:06 losingsleeep