Changeset 13705


Ignore:
Timestamp:
12/20/11 21:48:22 (10 years ago)
Author:
ehuelsmann
Message:

Create two utility functions allowing more efficient symbol lookup
in the reader (see my next commit).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/Package.java

    r13445 r13705  
    210210    }
    211211
     212    public Symbol findInternalSymbol(String name)
     213    {
     214        return internalSymbols.get(name);
     215    }
     216
    212217    public Symbol findExternalSymbol(SimpleString name)
    213218    {
    214219        return externalSymbols.get(name.toString());
     220    }
     221
     222    public Symbol findExternalSymbol(String name)
     223    {
     224        return externalSymbols.get(name);
    215225    }
    216226
Note: See TracChangeset for help on using the changeset viewer.