Class MathLookup

  • All Implemented Interfaces:
    org.apache.commons.text.lookup.StringLookup

    public class MathLookup
    extends Object
    implements org.apache.commons.text.lookup.StringLookup
    Evaluates the given Mathematical expression using the exp4j library
    See Also:
    exp4j
    • Constructor Detail

      • MathLookup

        public MathLookup()
    • Method Detail

      • lookup

        public String lookup​(String key)
        Specified by:
        lookup in interface org.apache.commons.text.lookup.StringLookup