class Operator: Comparable<Operator>, TermConvertible, Any
Fields
Name | Description |
---|---|
val functor: String
|
|
val specifier: Specifier
|
|
val priority: Int
|
Constructors
Methods
compareTo
fun compareTo(other: Operator): Int
Parameters
Name | Description |
---|---|
other: Operator
|
ReturnValue
Name | Description |
---|---|
Int
|
toTerm
fun toTerm(): Struct
Converts this instance to a Prolog Term
ReturnValue
Name | Description |
---|---|
Struct
|
equals
fun equals(other: Any?): Boolean
Parameters
Name | Description |
---|---|
other: Any?
|
ReturnValue
Name | Description |
---|---|
Boolean
|
hashCode
fun hashCode(): Int
ReturnValue
Name | Description |
---|---|
Int
|
toString
fun toString(): String
ReturnValue
Name | Description |
---|---|
String
|
CompanionObject
Operator
class Operator: Comparable<Operator>, TermConvertible, Any
Class representing a logic operator
Fields
Name | Description |
---|---|
const FUNCTOR: String
|
The Operator functor |
val TEMPLATE: Struct
|
An operator template |
Class representing a logic operator