Skip to content

Commit 627a703

Browse files
committed
#56 doc
1 parent 081813c commit 627a703

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/java/org/eolang/xax/XtSticky.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ public Collection<String> asserts() {
8282
return this.through("asserts", this.origin::asserts);
8383
}
8484

85+
/**
86+
* Through the cache.
87+
* @param method The method
88+
* @param supplier The supplier
89+
* @return The object calculated
90+
* @param <T> Type of the object
91+
*/
8592
@SuppressWarnings("unchecked")
8693
private <T> T through(final String method, final Supplier<T> supplier) {
8794
return (T) this.cache.computeIfAbsent(

0 commit comments

Comments
 (0)