lojix/prolog/src/main/com/thesett/aima/logic/fol/prolog/StackVariable.java
public Variable getStorageCell(Variable variable)
    {
        VariableBindingContext<Variable> context = getBindingContext();

        if (context == null)
        {
            return null;
        }
        else
        {
            return context.getStorageCell(this);
        }
    }
public Variable getStorageCell(Variable variable)
    {
        VariableBindingContext<Variable> context = getBindingContext();

        if (context == null)
        {
            return null;
        }
        else
        {
            return context.getStorageCell(this);
        }
    }
Provides the storage cell for the specified variable. Some types of variable may defer their storage onto a
storage cell other than themselves, other variable types may simply return themselves as their own storage cells.

@param  variable The variable to get the storage cell for.

@return The storage cell where the specified variable sets its bindings, or <tt>null</tt> if none has been
established.