From 225a926f86a6981c8961c6e752c32b6bc857d7cb Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Fri, 25 Aug 2017 14:59:41 -0700 Subject: [PATCH] Move NumberFunction into Kotlin. --- .../org/nwapw/abacus/function/NumberFunction.java | 11 ----------- .../org/nwapw/abacus/function/NumberFunction.kt | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) delete mode 100755 core/src/main/java/org/nwapw/abacus/function/NumberFunction.java create mode 100644 core/src/main/kotlin/org/nwapw/abacus/function/NumberFunction.kt diff --git a/core/src/main/java/org/nwapw/abacus/function/NumberFunction.java b/core/src/main/java/org/nwapw/abacus/function/NumberFunction.java deleted file mode 100755 index 24461c2..0000000 --- a/core/src/main/java/org/nwapw/abacus/function/NumberFunction.java +++ /dev/null @@ -1,11 +0,0 @@ -package org.nwapw.abacus.function; - -import org.nwapw.abacus.number.NumberInterface; - -/** - * A function that operates on one or more - * inputs and returns a single number. - */ -public abstract class NumberFunction extends Applicable { - -} diff --git a/core/src/main/kotlin/org/nwapw/abacus/function/NumberFunction.kt b/core/src/main/kotlin/org/nwapw/abacus/function/NumberFunction.kt new file mode 100644 index 0000000..a706274 --- /dev/null +++ b/core/src/main/kotlin/org/nwapw/abacus/function/NumberFunction.kt @@ -0,0 +1,11 @@ +package org.nwapw.abacus.function + +import org.nwapw.abacus.number.NumberInterface + +/** + * A function that operates on numbers. + * + * This function takes some number of input NumberInterfaces and returns + * another NumberInterface as a result. + */ +abstract class NumberFunction : Applicable() \ No newline at end of file