Package org.apache.commons.text.lookup

Provides algorithms for looking up strings for use with a StringSubstitutor. The main class in this package is StringLookupFactory.

Use StringLookupFactory to create instances of string lookups or access singleton string lookups. The main interface is StringLookup which is implemented here in package private classes.

Like BiFunction is a variant of Function, this BiStringLookup is a variant of StringLookup.

The initial implementation was adapted from Apache Commons Log4j 2.11.0.