public class GroundTermTools extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GroundTermTools.NonGroundTermException |
| Constructor and Description |
|---|
GroundTermTools() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
areGroundTerms(Collection<? extends ImmutableTerm> terms) |
static GroundTerm |
castIntoGroundTerm(Term term,
TermFactory termFactory) |
static com.google.common.collect.ImmutableList<GroundTerm> |
castIntoGroundTerms(List<? extends Term> terms,
TermFactory termFactory) |
static void |
checkNonGroundTermConstraint(NonGroundFunctionalTerm term) |
static boolean |
isGroundTerm(Term term)
Returns true if is a ground term (even if it is not explicitly typed as such).
|
public static com.google.common.collect.ImmutableList<GroundTerm> castIntoGroundTerms(List<? extends Term> terms, TermFactory termFactory) throws GroundTermTools.NonGroundTermException
public static GroundTerm castIntoGroundTerm(Term term, TermFactory termFactory) throws GroundTermTools.NonGroundTermException
public static boolean isGroundTerm(Term term)
public static boolean areGroundTerms(Collection<? extends ImmutableTerm> terms)
public static void checkNonGroundTermConstraint(NonGroundFunctionalTerm term) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.