1
0
mirror of https://github.com/DanilaFe/abacus synced 2026-01-26 00:25:20 +00:00

Add some comments.

This commit is contained in:
2017-07-30 14:59:20 -07:00
parent 67b95edd44
commit cb98601ae5
2 changed files with 29 additions and 0 deletions

View File

@@ -146,6 +146,11 @@ public class Abacus {
return tree.reduce(numberReducer);
}
/**
* Creates a number from a string.
* @param numberString the string to create the number from.
* @return the resulting number.
*/
public NumberInterface numberFromString(String numberString){
Class<? extends NumberInterface> toInstantiate =
pluginManager.numberFor(configuration.getNumberImplementation());