lojix/logic/src/main/com/thesett/aima/logic/fol/builder/TermBuilder.java
public Variable var(String name)
    {
        boolean isAnonymous = name.startsWith("_");
        int internedName = interner.internVariableName(name);

        return new Variable(internedName, null, isAnonymous);
    }
public Variable var(String name)
    {
        boolean isAnonymous = name.startsWith("_");
        int internedName = interner.internVariableName(name);

        return new Variable(internedName, null, isAnonymous);
    }
public Variable var ( String name ) { boolean isAnonymous = name . startsWith ( "_" ) ; int internedName = interner . internVariableName ( name ) ; return new Variable ( internedName , null , isAnonymous ) ; }
Creates a variable. If the variable name begins with an underscore "_", it will be anonymous, otherwise it will
be named.

@param  name The name of the variable.

@return A variable.
Creates a variable . If the variable name begins with an underscore _ it will be anonymous otherwise it will be named .