@CompileStatic class DirtyCheckingCollection extends Object implements Collection, DirtyCheckableCollection
Collection capable of marking the parent entity as dirty when it is modified
| Type | Name and description |
|---|---|
int |
originalSize |
DirtyCheckable |
parent |
String |
property |
Collection |
target |
| Constructor and description |
|---|
DirtyCheckingCollection(Collection target, DirtyCheckable parent, String property) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
boolean |
add(Object o) |
|
boolean |
addAll(Collection c) |
|
void |
clear() |
|
boolean |
hasChanged() |
|
protected boolean |
hasChangedElements() |
|
boolean |
hasChangedSize() |
|
boolean |
hasGrown() |
|
boolean |
hasShrunk() |
|
boolean |
remove(Object o) |
|
boolean |
removeAll(Collection c) |
Groovy Documentation