FileDocCategorySizeDatePackage
AddressBookImpl.javaAPI DocApache Axis 1.4691Sat Apr 22 18:57:28 BST 2006test.wsdl.arrays3

AddressBookImpl

public class AddressBookImpl extends Object

Fields Summary
private static Map
addresses
Constructors Summary
Methods Summary
public voidaddEntry(java.lang.String name, Address address)


          
    
        this.addresses.put(name, address);
    
public AddressgetAddressFromName(java.lang.String name)

        return (Address) this.addresses.get(name);
    
public Address[]getAddressFromNames(java.lang.String[] name)

        if (name == null) return null;
        Address[] result = new Address[name.length];
        for(int i=0; i< name.length; i++) {
            result[i] = getAddressFromName(name[i]);
        }
        return result;