forked from plusone/plusone-commons
修改、新增方法
This commit is contained in:
@@ -24,7 +24,7 @@ class RefTests {
|
||||
}
|
||||
|
||||
void apply(Ref<String> strRef) {
|
||||
strRef.apply(str -> "Hello " + str);
|
||||
strRef.transform(str -> "Hello " + str);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user