1 16 17 22 23 package samples.userguide.example6; 24 25 import java.util.HashMap ; 26 27 public class WidgetPriceSoapBindingImpl implements samples.userguide.example6.WidgetPrice { 28 HashMap table = new HashMap (); 29 public void setWidgetPrice(java.lang.String name, java.lang.String price) throws java.rmi.RemoteException { 30 table.put(name, price); 31 32 } 33 public java.lang.String getWidgetPrice(java.lang.String name) throws java.rmi.RemoteException { 34 return (String ) table.get(name); 35 } 36 } 37 | Popular Tags |