Class SortAsSet

java.lang.Object
org.projog.core.predicate.AbstractSingleResultPredicate
org.projog.core.predicate.builtin.list.SortAsSet
All Implemented Interfaces:
KnowledgeBaseConsumer, PredicateFactory

public final class SortAsSet extends AbstractSingleResultPredicate
sort(X,Y) - sorts a list and removes duplicates.

Attempts to unify Y with a sorted version of the list represented by X, with duplicates removed.