public class AbstractIndicator extends Object implements PrologIndicator
PrologIndicator
interface.Modifier | Constructor and Description |
---|---|
protected |
AbstractIndicator(String functor,
int arity) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
int |
getArity()
Indicator arity that is the argument number for compound terms.
|
String |
getFunctor()
Indicator functor that is the name for compound terms.
|
String |
getIndicator()
Gets the term indicator represented by one string with the format
functor/arity.
|
int |
hashCode() |
String |
toString() |
protected AbstractIndicator(String functor, int arity)
public final String getIndicator()
PrologIndicator
PrologIndicator.getFunctor()
and PrologIndicator.getArity()
separated by
slash.getIndicator
in interface PrologIndicator
public final String getFunctor()
PrologIndicator
getFunctor
in interface PrologIndicator
public final int getArity()
PrologIndicator
getArity
in interface PrologIndicator
Copyright © 2020–2024 Prolobjectlink Project. All rights reserved.