Class ObservableCollectionOps
java.lang.Object
org.aksw.commons.collection.observable.ObservableCollectionOps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> booleanapplyDeltaSet(Collection<T> self, Set<T> backend, VetoableChangeSupport vcs, PropertyChangeSupport pcs, boolean clearIntersection, Collection<? extends T> rawAdditions, Collection<?> rawRemovals) Updates the 'backend' collection by first performing removals followed by additions.
-
Constructor Details
-
ObservableCollectionOps
public ObservableCollectionOps()
-
-
Method Details
-
applyDeltaSet
public static <T> boolean applyDeltaSet(Collection<T> self, Set<T> backend, VetoableChangeSupport vcs, PropertyChangeSupport pcs, boolean clearIntersection, Collection<? extends T> rawAdditions, Collection<?> rawRemovals) Updates the 'backend' collection by first performing removals followed by additions.- Type Parameters:
T-- Parameters:
self-backend-vcs-pcs-clearIntersection- Whether to adept additions and removals for an empty intersectionrawAdditions-rawRemovals-- Returns:
-