Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 027cc40

Browse files
update
1 parent 66504d8 commit 027cc40

File tree

1 file changed

+2
-1
lines changed
  • src/其他/线程安全的本地缓存

1 file changed

+2
-1
lines changed

‎src/其他/线程安全的本地缓存/Main.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ public class Main {
1111
Map<Object, Object> cache = new ConcurrentHashMap<>();
1212

1313
public static Object load(Object key) {
14-
return key + "load";
14+
String value = key + ":value";
15+
return value;
1516
}
1617

1718
public Object get(Object key) {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /