public final class RegionDifference
extends java.lang.Object
| Constructor and Description |
|---|
RegionDifference(java.util.Set<ProtectedRegion> changed,
java.util.Set<ProtectedRegion> removed)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAll(RegionDifference diff) |
boolean |
containsChanges()
Test whether there are changes or removals.
|
java.util.Set<ProtectedRegion> |
getChanged()
Get the regions that were changed or added.
|
java.util.Set<ProtectedRegion> |
getRemoved()
Get the regions that were removed.
|
public RegionDifference(java.util.Set<ProtectedRegion> changed, java.util.Set<ProtectedRegion> removed)
changed - a set of regions that were changed or addedremoved - a set of regions that were removedpublic java.util.Set<ProtectedRegion> getChanged()
public java.util.Set<ProtectedRegion> getRemoved()
public boolean containsChanges()
public void addAll(RegionDifference diff)