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);
    }
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}
{