mirror of
https://github.com/DanilaFe/abacus
synced 2025-01-09 15:54:13 -08:00
Make the promotion map protected and use classes.
This commit is contained in:
parent
e6cc08043e
commit
b680215f57
@ -8,8 +8,8 @@ import java.util.function.Function;
|
||||
|
||||
public abstract class NumberImplementation {
|
||||
|
||||
protected Map<Class<? extends NumberInterface>, Function<NumberInterface, NumberInterface>> promotionPaths;
|
||||
private Class<? extends NumberInterface> implementation;
|
||||
private Map<String, Function<NumberInterface, NumberInterface>> promotionPaths;
|
||||
private int priority;
|
||||
|
||||
public NumberImplementation(Class<? extends NumberInterface> implementation, int priority){
|
||||
|
Loading…
Reference in New Issue
Block a user