@Test public void testReturnsNotNilForFirstChanges() { Query query = messageQuery(); View view = new View(query, DocumentKey.emptyKeySet()); assertNotNull(applyChanges(view).getSnapshot()); }
public ViewChange applyChanges(DocumentChanges docChanges) { return applyChanges(docChanges, null); }
View { public ViewChange applyChanges(DocumentChanges docChanges) { return applyChanges(docChanges, null); } }
View { public ViewChange applyChanges(DocumentChanges docChanges) { return applyChanges(docChanges, null); } View(Query query, ImmutableSortedSet<DocumentKey> remoteDocuments); }
View { public ViewChange applyChanges(DocumentChanges docChanges) { return applyChanges(docChanges, null); } View(Query query, ImmutableSortedSet<DocumentKey> remoteDocuments); SyncState getSyncState(); DocumentChanges computeDocChanges(
      ImmutableSortedMap<DocumentKey, D> docChanges); DocumentChanges computeDocChanges(
      ImmutableSortedMap<DocumentKey, D> docChanges, @Nullable DocumentChanges previousChanges); ViewChange applyChanges(DocumentChanges docChanges); ViewChange applyChanges(DocumentChanges docChanges, TargetChange targetChange); ViewChange applyOnlineStateChange(OnlineState onlineState); }
View { public ViewChange applyChanges(DocumentChanges docChanges) { return applyChanges(docChanges, null); } View(Query query, ImmutableSortedSet<DocumentKey> remoteDocuments); SyncState getSyncState(); DocumentChanges computeDocChanges(
      ImmutableSortedMap<DocumentKey, D> docChanges); DocumentChanges computeDocChanges(
      ImmutableSortedMap<DocumentKey, D> docChanges, @Nullable DocumentChanges previousChanges); ViewChange applyChanges(DocumentChanges docChanges); ViewChange applyChanges(DocumentChanges docChanges, TargetChange targetChange); ViewChange applyOnlineStateChange(OnlineState onlineState);  }