Skip to content

Commit 3a1712b

Browse files
committed
Improve javadoc
1 parent 68f1a14 commit 3a1712b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/world/bentobox/bentobox/util/ExpiringSet.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* applies to all elements added to the set. It is thread-safe and provides similar
1717
* functionality to {@code HashSet} with the added feature of automatic expiration of elements.
1818
*
19+
* <p> Example usage: {@code ExpiringSet<UUID> players = new ExpiringSet<>(100, TimeUnit.SECONDS);}
1920
* <p>This class manages a background thread resource, so it implements {@code AutoCloseable}
2021
* to ensure resources are released reliably using try-with-resources.
2122
*

0 commit comments

Comments
 (0)