|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.unimi.di.mg4j.query.nodes.Difference
public class Difference
A node representing a difference of two queries.
Field Summary | |
---|---|
int |
leftMargin
A margin that will be added to the left of each interval. |
Query |
minuend
The minuend query. |
int |
rightMargin
A margin that will be added to the right of each interval. |
Query |
subtrahend
The subtrahend query. |
Constructor Summary | |
---|---|
Difference(Query minuend,
Query subtrahend)
|
|
Difference(Query minuend,
Query subtrahend,
int leftMargin,
int rightMargin)
|
Method Summary | ||
---|---|---|
|
accept(QueryBuilderVisitor<T> visitor)
Accepts a visitor. |
|
boolean |
equals(Object o)
|
|
int |
hashCode()
|
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final Query minuend
public final Query subtrahend
public final int leftMargin
public final int rightMargin
Constructor Detail |
---|
public Difference(Query minuend, Query subtrahend)
public Difference(Query minuend, Query subtrahend, int leftMargin, int rightMargin)
Method Detail |
---|
public String toString()
toString
in class Object
public <T> T accept(QueryBuilderVisitor<T> visitor) throws QueryBuilderVisitorException
Query
accept
in interface Query
visitor
- the visitor.
null
if the visit should stop.
QueryBuilderVisitorException
Query
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |