Package com.nomagic.magicdraw.properties
Class Style.CollectionWithModificationTracking<T>
- java.lang.Object
-
- com.nomagic.magicdraw.properties.Style.CollectionWithModificationTracking<T>
-
- Enclosing class:
- Style
private static class Style.CollectionWithModificationTracking<T> extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
Style.CollectionWithModificationTracking.Modification
-
Field Summary
Fields Modifier and Type Field Description private java.util.Collection<T>
collection
-
Constructor Summary
Constructors Modifier Constructor Description private
CollectionWithModificationTracking()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addIfAbsent(T e)
void
clear()
(package private) void
forEach(java.util.function.Consumer<? super T> action)
protected void
modified(Style.CollectionWithModificationTracking.Modification mod, T e)
boolean
remove(T o)
int
size()
-
-
-
Field Detail
-
collection
private final java.util.Collection<T> collection
-
-
Method Detail
-
addIfAbsent
public void addIfAbsent(T e)
-
size
public int size()
-
remove
public boolean remove(T o)
-
clear
public void clear()
-
forEach
void forEach(java.util.function.Consumer<? super T> action)
-
modified
protected void modified(Style.CollectionWithModificationTracking.Modification mod, @CheckForNull T e)
-
-