public abstract class AbstractOperator extends Object implements PrologOperator
PrologOperator
.Constructor and Description |
---|
AbstractOperator(int priority,
String specifier,
String operator) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PrologOperator o) |
boolean |
equals(Object object) |
String |
getOperator()
String symbol that represent the Prolog operator.
|
int |
getPriority()
Integer number between 0 and 1200 that represent the operator priority.
|
String |
getSpecifier()
String symbol that specify the associativity and position of the Prolog
operator.
|
int |
hashCode() |
String |
toString() |
public final int getPriority()
PrologOperator
getPriority
in interface PrologOperator
public final String getSpecifier()
PrologOperator
getSpecifier
in interface PrologOperator
public final String getOperator()
PrologOperator
getOperator
in interface PrologOperator
public int compareTo(PrologOperator o)
compareTo
in interface Comparable<PrologOperator>
Copyright © 2020–2024 Prolobjectlink Project. All rights reserved.