Package dev.roanh.gmark.query
Class Variable
java.lang.Object
dev.roanh.gmark.query.Variable
- All Implemented Interfaces:
IDable
Represents a query variable.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionVariable
(int id) Constructs a new variable with the given unique numerical ID. -
Method Summary
-
Field Details
-
id
private int idThe numerical ID of this variable.
-
-
Constructor Details
-
Variable
public Variable(int id) Constructs a new variable with the given unique numerical ID.- Parameters:
id
- The ID of this variable.
-
-
Method Details
-
toString
-
hashCode
public int hashCode() -
equals
-
getID
public int getID()Description copied from interface:IDable
Gets the unique ID for this object. This ID uniquely identifies all objects of this type.
-