Skip to content

Commit 7d28fed

Browse files
author
patched.codes[bot]
committed
Patched tests/cicd/generate_docstring/usage_example.py
1 parent 5bafb63 commit 7d28fed

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import java.util.function.Function;
2+
3+
public class Example {
4+
public static void main(String[] args) {
5+
// Example usage of a_plus_b
6+
int sum = Test.a_plus_b(5, 3);
7+
System.out.println("Sum: " + sum);
8+
9+
// Example usage of a_plus_b with a keymap function
10+
Function<Object, Integer> keymap = obj -> (int) obj;
11+
int comparison = Test.a_plus_b(keymap, 2, 3);
12+
System.out.println("Comparison: " + comparison);
13+
}
14+
}

0 commit comments

Comments
 (0)