ubc.cs.JLog.Foundation
Class iNameArityStub
java.lang.Object
ubc.cs.JLog.Foundation.iNameArityStub
- All Implemented Interfaces:
- iName, iNameArity
public class iNameArityStub
- extends Object
- implements iNameArity
This is the interface stub to support the jKnowledgeBase interfaces
which require a name and arity, iNameArity in situations where a
term is not available.
- Version:
- %I%, %G%
- Author:
- Glendon Holst
|
Method Summary |
int |
getArity()
Returns the arity of this instance. |
String |
getName()
Returns the name of this instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected String name
arity
protected int arity
iNameArityStub
public iNameArityStub(String n,
int a)
getName
public String getName()
- Description copied from interface:
iName
- Returns the name of this instance.
- Specified by:
getName in interface iName
- Returns:
String containing name of this instance.
getArity
public int getArity()
- Description copied from interface:
iNameArity
- Returns the arity of this instance.
- Specified by:
getArity in interface iNameArity
- Returns:
int whose value is the arity of this instance.
Copyright © 2011. All Rights Reserved.