code: public Collection<Deployment> findByName(String name)
     {
        Collection<Deployment> result = new ArrayList<Deployment>();
        for (Deployment d : deployments)
        {
           if (d.getName() != null && d.getName().equals(name))
              result.add(d);
        }
        return Collections.unmodifiableCollection(result);
     }
docs: {@inheritDoc}