//------------------------------------------------------------------------- protected internal override ICollection <ResourceLocator> getAllResources(string subdirectoryName) { string resolvedSubdirectory = subdirectoryName + "/"; //JAVA TO C# CONVERTER TODO TASK: Most Java stream collectors are not converted by Java to C# Converter: return(entries.Where(e => e.StartsWith(resolvedSubdirectory) && !e.Equals(resolvedSubdirectory)).Select(e => getEntryLocator(rootPath + e)).collect(Collectors.toSet())); }