public List<FacetEntry> getFacetEntries(int offset, int limit) {List<FacetEntry> entries = new LinkedList<>();int skipped = 0;int included = 0;for (FacetEntry facetEntry : facetEntries) {if (skipped < offset) {skipped++;continue;}if (included++ >= limit) {break;}entries.add(facetEntry);}return entries;}

public virtual IList<FacetEntry> GetFacetEntries(int offset, int limit){List<FacetEntry> entries = new List<FacetEntry>();int skipped = 0;int included = 0;foreach (FacetEntry facetEntry in facetEntries){if (skipped < offset){skipped++;continue;}if (included++ >= limit){break;}entries.Add(facetEntry);}return entries;}
