TChange
- the generic typepublic final class ChangeCollection<TChange extends Change> extends Object implements Iterable<TChange>
Constructor and Description |
---|
ChangeCollection()
Initializes a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
void |
add(TChange change)
Adds the specified change.
|
TChange |
getChangeAtIndex(int index)
Gets an individual change from the change collection.
|
int |
getCount()
Gets the number of changes in the collection.
|
boolean |
getMoreChangesAvailable()
Gets the SyncState blob returned by a synchronization operation.
|
String |
getSyncState()
Gets the SyncState blob returned by a synchronization operation.
|
Iterator<TChange> |
iterator()
Returns an iterator over a set of elements of type T.
|
void |
setMoreChangesAvailable(boolean moreChangesAvailable)
Sets the more changes available.
|
void |
setSyncState(String syncState)
Sets the sync state.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public ChangeCollection()
public int getCount()
public TChange getChangeAtIndex(int index)
index
- the indexpublic String getSyncState()
public void setSyncState(String syncState)
syncState
- the new sync statepublic boolean getMoreChangesAvailable()
public void setMoreChangesAvailable(boolean moreChangesAvailable)
moreChangesAvailable
- the new more changes availableCopyright © 2012–2015 Microsoft. All rights reserved.