public boolean matches(final String s) {
        if (value.equals(s)) {
            return true;
        }
        if (aliases != null) {
            for (String alias : aliases) {
                if (alias.equals(s)) {
                    return true;
                }
            }
        }
        return false;
    }
A lookup value with optional aliases
<p>
toString just gives the primary value,
equals just compares against primary value
matches() also compares aliases

@author ab
main/src/main/java/cgeo/geocaching/brouter/expressions/BExpressionLookupValue.java