package pricer.spi;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

public interface Algorithm {
	
	// public String algorithmName="";
	Map<String, Float> parameter = new HashMap<String, Float>();

	Map<String, Float> getParameterMap();

	public void setParameter(Map<String, Float> a);
	public String getAlgorithmName();
	public ArrayList<String> getProductName();

	Float[] calculate();

}

@@ -94,16 +94,43 @@
 il.Map;%0D
+%0Aimport java.util.TreeMap;%0D
 %0A%0D%0Apubli
@@ -195,16 +195,20 @@
 e=%22%22;%0D%0A%09
+Tree
 Map%3CStri
@@ -234,20 +234,20 @@
 r = new 
-Hash
+Tree
 Map%3CStri
@@ -264,16 +264,27 @@
 ();%0D%0A%0D%0A%09
+public Tree
 Map%3CStri
@@ -342,16 +342,20 @@
 rameter(
+Tree
 Map%3CStri

change map to treemap