[New] Added Selection.not() to return inversion of selection
This commit is contained in:
parent
f331babd3d
commit
ae0fba00ca
|
@ -23,4 +23,8 @@ public interface Selection {
|
||||||
public void accept(QueryVisitor visitor);
|
public void accept(QueryVisitor visitor);
|
||||||
|
|
||||||
public boolean hasSelection();
|
public boolean hasSelection();
|
||||||
|
|
||||||
|
public default Selection not() {
|
||||||
|
return new NotSelection(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue