public final class RegionDifference extends Object
| Constructor and Description |
|---|
RegionDifference(Set<ProtectedRegion> changed,
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.
|
Set<ProtectedRegion> |
getChanged()
Get the regions that were changed or added.
|
Set<ProtectedRegion> |
getRemoved()
Get the regions that were removed.
|
public RegionDifference(Set<ProtectedRegion> changed, Set<ProtectedRegion> removed)
changed - a set of regions that were changed or addedremoved - a set of regions that were removedpublic Set<ProtectedRegion> getChanged()
public Set<ProtectedRegion> getRemoved()
public boolean containsChanges()
public void addAll(RegionDifference diff)
Copyright © 2015. All Rights Reserved.