summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/samples/calculator-android/src/calculator/CalculatorService.java
diff options
context:
space:
mode:
Diffstat (limited to 'branches/sca-java-1.x/samples/calculator-android/src/calculator/CalculatorService.java')
-rw-r--r--branches/sca-java-1.x/samples/calculator-android/src/calculator/CalculatorService.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/branches/sca-java-1.x/samples/calculator-android/src/calculator/CalculatorService.java b/branches/sca-java-1.x/samples/calculator-android/src/calculator/CalculatorService.java
new file mode 100644
index 0000000000..862d7b892d
--- /dev/null
+++ b/branches/sca-java-1.x/samples/calculator-android/src/calculator/CalculatorService.java
@@ -0,0 +1,18 @@
+package calculator;
+
+
+
+/**
+ * The Calculator service interface.
+ */
+public interface CalculatorService {
+
+ double add(double n1, double n2);
+
+ double subtract(double n1, double n2);
+
+ double multiply(double n1, double n2);
+
+ double divide(double n1, double n2);
+
+}