1
0
mirror of https://github.com/DanilaFe/abacus synced 2024-12-22 07:20:09 -08:00

Move NumberFunction into Kotlin.

This commit is contained in:
Danila Fedorin 2017-08-25 14:59:41 -07:00
parent f83f2a7aaa
commit 225a926f86
2 changed files with 11 additions and 11 deletions

View File

@ -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<NumberInterface, NumberInterface> {
}

View File

@ -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<NumberInterface, NumberInterface>()