public class ChangeDelta
extends java.lang.Object
QueryResultChangeDelta
instances that store deltas grouped by IQuerySpecification
instances.Constructor and Description |
---|
ChangeDelta(java.util.Map<IQuerySpecification<?>,QueryResultChangeDelta> delta) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Set<? extends IPatternMatch> |
getAllAppeared()
Returns a set of matches added to the selected change delta for all query specifications
|
java.util.Set<? extends IPatternMatch> |
getAllDisappeared()
Returns a set of matches disappeared in the selected change delta for all query specifications
|
java.util.Set<? extends IPatternMatch> |
getAllUpdated()
Returns a set of matches updated in the selected change delta for all query specifications
|
java.util.Set<? extends IPatternMatch> |
getAppeared(IQuerySpecification<?> specification)
Returns a set of matches added in the selected change delta for the given query specification
|
java.util.Set<IQuerySpecification<?>> |
getChangedQuerySpecifications()
Return a list of query specifications that have corresponding changes.
|
java.util.Set<? extends IPatternMatch> |
getDisappeared(IQuerySpecification<?> specification)
Returns a set of matches disappeared in the selected change delta for the given query specification
|
java.util.Set<? extends IPatternMatch> |
getUpdated(IQuerySpecification<?> specification)
Returns a set of matches updated in the selected change delta for the given query specification
|
int |
hashCode() |
java.lang.String |
toString() |
public ChangeDelta(java.util.Map<IQuerySpecification<?>,QueryResultChangeDelta> delta)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Set<IQuerySpecification<?>> getChangedQuerySpecifications()
public java.util.Set<? extends IPatternMatch> getAppeared(IQuerySpecification<?> specification)
public java.util.Set<? extends IPatternMatch> getAllAppeared()
public java.util.Set<? extends IPatternMatch> getUpdated(IQuerySpecification<?> specification)
public java.util.Set<? extends IPatternMatch> getAllUpdated()
public java.util.Set<? extends IPatternMatch> getDisappeared(IQuerySpecification<?> specification)
public java.util.Set<? extends IPatternMatch> getAllDisappeared()