|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
aminePlatform.util.AmineList
aminePlatform.util.Term
Title : util.Term Class
Description : Term extends AmineList and implements the Term structure. The arguments of a Term can be any Amine object, any Java Object that implements AmineObject and Matching interfaces or even any Java object. A term can be a descriptor (or contained in a descriptor) of a concept in a CG.
Copyright: Copyright (c) Adil KABBAJ, 2004-2009
Field Summary |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
Term()
|
|
Term(int i)
|
Method Summary | |
AmineList |
copy(BindingContext bindContext,
java.lang.Object bindInf)
This method overrides the method defined in AmineList to construct a term, not an AmineList. |
static boolean |
isTerm(java.lang.Object obj)
Check if the specified Object obj is a Term. |
java.lang.Object |
match(byte matchOperation,
BindingContext bindContext,
java.lang.Object bindInf,
java.lang.Object obj,
java.lang.Object bindInfObj)
Match the current term with the specified object, according to the value of the parameter matchOperation. |
AmineList |
toAmineList()
|
java.lang.String |
toString(BindingContext bindContext,
java.lang.Object bindInf,
Lexicon lexicon)
Override the method defined in AmineList; this definition returns the textual formulation of the current Term. |
Methods inherited from class aminePlatform.util.AmineList |
clear, clone, copy, equal, equal, finalize, generalize, generalize, getVariables, isAmineList, isMember, isMember, match, match, maximalJoin, maximalJoin, parse, parse, subsume, subsume, subsumeWithResult, subsumeWithResult, toAmineSet, toString, toString, toTerm, unify |
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
containsAll, remove, removeAll, retainAll |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface aminePlatform.util.Matching |
equal, equal, generalize, generalize, match, maximalJoin, maximalJoin, subsume, subsume, subsumeWithResult, subsumeWithResult, unify |
Methods inherited from interface aminePlatform.util.AmineObject |
clear, clone, clone, finalize, getVariables |
Methods inherited from interface aminePlatform.kernel.lexicons.ToString |
toString |
Methods inherited from interface java.util.List |
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList |
Constructor Detail |
public Term()
public Term(int i)
Method Detail |
public java.lang.String toString(BindingContext bindContext, java.lang.Object bindInf, Lexicon lexicon) throws ToStringException
toString
in interface AmineObject
toString
in class AmineList
bindContext
- The Binding contextbindInf
- The binding information related to the binding context and the current Termlexicon
- The lexicon in use during the textual formulation of the current Term
ToStringException
- if an error occurs during the textualizationpublic static boolean isTerm(java.lang.Object obj)
obj
- : an object
public AmineList copy(BindingContext bindContext, java.lang.Object bindInf)
copy
in class AmineList
bindContext
- The Binding contextbindInf
- The binding information related to the binding context and to the current Term
public java.lang.Object match(byte matchOperation, BindingContext bindContext, java.lang.Object bindInf, java.lang.Object obj, java.lang.Object bindInfObj)
match
in interface Matching
match
in class AmineList
matchOperation
- A byte value that specifies which kind of matching to applybindContext
- The binding contextbindInf
- The binding information for the current CGobj
- The object to match with the current CGbindInfObj
- The binding information for the parameter obj
public AmineList toAmineList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |