Code example for ArrayList

Methods: add

0
	private IRestApiService restApi; 
	 
    @Override 
    public Collection<Class<? extends IFloodlightService>> getModuleDependencies() { 
        Collection<Class<? extends IFloodlightService>> l =  
                new ArrayList<Class<? extends IFloodlightService>>(); 
        l.add(IRestApiService.class); 
        return l; 
    } 
     
    @Override 
    public Collection<Class<? extends IFloodlightService>> getModuleServices() { 
        return null; 
    } 
     
    @Override 
    public Map<Class<? extends IFloodlightService>, IFloodlightService> 
            getServiceImpls() { 
        return null; 
    }