lojix/prolog/src/main/com/thesett/aima/logic/fol/prolog/PrologResolver.java
public void addToDomain(PrologCompiledClause term)
    {
        List<PrologCompiledClause> predicate = domain.get(term.getHead().getName());

        if (predicate == null)
        {
            predicate = new LinkedList<PrologCompiledClause>();
            domain.put(term.getHead().getName(), predicate);
        }

        predicate.add(term);
    }
public void addToDomain(PrologCompiledClause term)
    {
        List<PrologCompiledClause> predicate = domain.get(term.getHead().getName());

        if (predicate == null)
        {
            predicate = new LinkedList<PrologCompiledClause>();
            domain.put(term.getHead().getName(), predicate);
        }

        predicate.add(term);
    }
{@inheritDoc}