@Test public void getCacheEntry() { GroupCacheEntry entry = getCacheEntry(true); List<DocumentReference> all = Arrays.asList(GROUP1, GROUP2); List<DocumentReference> direct = Arrays.asList(GROUP1); entry.setAll(all); entry = getCacheEntry(true); assertEquals(all, new ArrayList<>(entry.getAll())); entry.setDirect(direct); entry = getCacheEntry(true); assertEquals(direct, new ArrayList<>(entry.getDirect())); }
public GroupCacheEntry getCacheEntry(DocumentReference reference, Collection<String> wikis, boolean create) { String key = toKey(reference, wikis); return getCacheEntry(key, reference, create); }
GroupsCache extends AbstractGroupCache { public GroupCacheEntry getCacheEntry(DocumentReference reference, Collection<String> wikis, boolean create) { String key = toKey(reference, wikis); return getCacheEntry(key, reference, create); } }
GroupsCache extends AbstractGroupCache { public GroupCacheEntry getCacheEntry(DocumentReference reference, Collection<String> wikis, boolean create) { String key = toKey(reference, wikis); return getCacheEntry(key, reference, create); } GroupsCache(); }
GroupsCache extends AbstractGroupCache { public GroupCacheEntry getCacheEntry(DocumentReference reference, Collection<String> wikis, boolean create) { String key = toKey(reference, wikis); return getCacheEntry(key, reference, create); } GroupsCache(); GroupCacheEntry getCacheEntry(DocumentReference reference, Collection<String> wikis, boolean create); }
GroupsCache extends AbstractGroupCache { public GroupCacheEntry getCacheEntry(DocumentReference reference, Collection<String> wikis, boolean create) { String key = toKey(reference, wikis); return getCacheEntry(key, reference, create); } GroupsCache(); GroupCacheEntry getCacheEntry(DocumentReference reference, Collection<String> wikis, boolean create);  }