We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68f1a14 commit 3a1712bCopy full SHA for 3a1712b
src/main/java/world/bentobox/bentobox/util/ExpiringSet.java
@@ -16,6 +16,7 @@
16
* applies to all elements added to the set. It is thread-safe and provides similar
17
* functionality to {@code HashSet} with the added feature of automatic expiration of elements.
18
*
19
+ * <p> Example usage: {@code ExpiringSet<UUID> players = new ExpiringSet<>(100, TimeUnit.SECONDS);}
20
* <p>This class manages a background thread resource, so it implements {@code AutoCloseable}
21
* to ensure resources are released reliably using try-with-resources.
22
0 commit comments