public final class FileChanges extends java.util.AbstractCollection<FileChange>
Modifier and Type | Method and Description |
---|---|
FileChange |
getChange(java.net.URL file)
Get the change for a specific file, if it has changed.
|
long |
getCookie()
Get the cookie for this file table.
|
int |
getVersion()
Get the version number of the file table or scope after these changes.
|
java.util.Iterator<FileChange> |
iterator()
Returns an iterator over the file changes.
|
int |
size()
Get the number of changes.
|
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
public FileChange getChange(@NotNull java.net.URL file)
file
- the URL of the filenull
if the file has not changedpublic int size()
size
in interface java.util.Collection<FileChange>
size
in class java.util.AbstractCollection<FileChange>
public int getVersion()
public long getCookie()
public java.util.Iterator<FileChange> iterator()
iterator
in interface java.lang.Iterable<FileChange>
iterator
in interface java.util.Collection<FileChange>
iterator
in class java.util.AbstractCollection<FileChange>