MCPcopy Create free account
hub / github.com/apache/thrift / add

Method add

tutorial/java/src/CalculatorHandler.java:40–43  ·  view source on GitHub ↗
(int n1, int n2)

Source from the content-addressed store, hash-verified

38 }
39
40 public int add(int n1, int n2) {
41 System.out.println("add(" + n1 + "," + n2 + ")");
42 return n1 + n2;
43 }
44
45 public int calculate(int logid, Work work) throws InvalidOperation {
46 System.out.println("calculate(" + logid + ", {" + work.op + "," + work.num1 + "," + work.num2 + "})");

Callers 1

performMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected