Class CollectionDataTracker<T>
java.lang.Object
com.ticxo.modelengine.api.utils.data.tracker.DataTracker<Collection<T>>
com.ticxo.modelengine.api.utils.data.tracker.CollectionDataTracker<T>
- All Implemented Interfaces:
Iterable<T>
,Collection<T>
-
Field Summary
Fields inherited from class com.ticxo.modelengine.api.utils.data.tracker.DataTracker
equal, isDirty, value
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
addAll
(@NotNull Collection<? extends T> c) void
clear()
boolean
boolean
containsAll
(@NotNull Collection<?> c) boolean
isEmpty()
iterator()
boolean
boolean
removeAll
(@NotNull Collection<?> c) boolean
retainAll
(@NotNull Collection<?> c) int
size()
@NotNull Object[]
toArray()
<T1> @NotNull T1[]
toArray
(@NotNull T1[] a) Methods inherited from class com.ticxo.modelengine.api.utils.data.tracker.DataTracker
clearDirty, get, ifDirty, ifDirty, isDirty, markDirty, set, set
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Constructor Details
-
CollectionDataTracker
-
-
Method Details
-
size
public int size()- Specified by:
size
in interfaceCollection<T>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<T>
-
contains
- Specified by:
contains
in interfaceCollection<T>
-
iterator
-
toArray
- Specified by:
toArray
in interfaceCollection<T>
-
toArray
@NotNull public <T1> @NotNull T1[] toArray(@NotNull @NotNull T1[] a) - Specified by:
toArray
in interfaceCollection<T>
-
add
- Specified by:
add
in interfaceCollection<T>
-
remove
- Specified by:
remove
in interfaceCollection<T>
-
containsAll
- Specified by:
containsAll
in interfaceCollection<T>
-
addAll
- Specified by:
addAll
in interfaceCollection<T>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<T>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<T>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<T>
-