Uses of Class
uk.megaslice.delta.Operation
-
-
Uses of Operation in uk.megaslice.delta
Methods in uk.megaslice.delta that return Operation Modifier and Type Method Description static <T> Operation<T>Operation. delete(T item)Creates a delete operation for a given item.static <T> Operation<T>Operation. insert(T item)Creates an insert operation for a given item.static <T> Operation<T>Operation. update(T before, T after)Creates an update operation for a given item in its before and after states.Methods in uk.megaslice.delta that return types with arguments of type Operation Modifier and Type Method Description Optional<Operation<T>>Operation. combine(Operation<T> other)Combines this operation with another operation, using a default item equivalence function.abstract Optional<Operation<T>>Operation. combine(Operation<T> other, Equivalence<T> equivalence)Combines this operation with another operation.Collection<Operation<T>>Delta. deletes()Returns the delete operations of this delta.Optional<Operation<T>>Delta. get(K key)Retrieves an operation by the natural key of an item in the dataset.Collection<Operation<T>>Delta. inserts()Returns the insert operations of this delta.Map<K,Operation<T>>Delta. operations()Returns the insert, update and delete operations of this delta.Collection<Operation<T>>Delta. updates()Returns the update operations of this delta.Methods in uk.megaslice.delta with parameters of type Operation Modifier and Type Method Description Optional<Operation<T>>Operation. combine(Operation<T> other)Combines this operation with another operation, using a default item equivalence function.abstract Optional<Operation<T>>Operation. combine(Operation<T> other, Equivalence<T> equivalence)Combines this operation with another operation.
-