public class VariableUtils extends Object
Title: Variable Utilities
Description: Collection of utilities for dealing with variables
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
| Constructor and Description |
|---|
VariableUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Collection<AtomDVariable> |
getDVars(RuleAtom atom)
Static convenience function to return the instance variables used
in the given atom.
|
static Collection<AtomIVariable> |
getIVars(RuleAtom atom)
Static convenience function to return the instance variables used
in the given atom.
|
static Collection<AtomVariable> |
getVars(RuleAtom atom)
Static convenience function to return the variables used
in the given atom.
|
static boolean |
isVariable(AtomObject obj)
Returns true if atom object is a variable
|
public static Collection<AtomDVariable> getDVars(RuleAtom atom)
public static Collection<AtomIVariable> getIVars(RuleAtom atom)
public static Collection<AtomVariable> getVars(RuleAtom atom)
public static boolean isVariable(AtomObject obj)
Copyright © 2019. All rights reserved.