@Override
    public List<ResourceModel> provideResourceFromSource(String sourceID) {
        return resources.stream()
                .filter(resource -> resource.getProvider().getID().equals(sourceID))
                .collect(Collectors.toList());
    }
@Override
    public List<ResourceModel> provideResourceFromSource(String sourceID) {
        return resources.stream()
                .filter(resource -> resource.getProvider().getID().equals(sourceID))
                .collect(Collectors.toList());
    }
@ Override public List < ResourceModel > provideResourceFromSource ( String sourceID ) { return resources . stream ( ) . filter ( resource -> resource . getProvider ( ) . getID ( ) . equals ( sourceID ) ) . collect ( Collectors . toList ( ) ) ; }
returns the resource (if existing) from the source

@param sourceID the ID of the source
@return a list containing all the found resources
returns the resource ( if existing ) from the source