return nouvConc;
}
public Concept copyValue(int level) {
Concept newConcept = new Concept(env);
PrologDataIndexPair ValType = env.unification.valueFromUnifStack(m_pdType, level);
newConcept.m_pdType = ValType.pData.myCopy();
if (m_pdReferent != null) {
PrologDataIndexPair ValRef = env.unification.valueFromUnifStack(m_pdReferent, level);
if (ValRef.pData != null) {
newConcept.m_pdReferent = ValRef.pData.myCopy();
}
}
if (m_pdValue != null) {
PrologDataIndexPair ValVal = env.unification.valueFromUnifStack(m_pdValue, level);
if (ValVal.pData != null) {
newConcept.m_pdValue = ValVal.pData.myCopy();
}
}