Interface Expression

All Known Implementing Classes:
ExpressionFactory.AndOperator, ExpressionFactory.CondOperator, ExpressionFactory.IsInsideFunction, ExpressionFactory.LengthFunction, ExpressionFactory.MinMaxFunction, ExpressionFactory.NullExpression, ExpressionFactory.OrOperator, LiteralExpression, PlaceholderExpression
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

A MapCSS Expression. Can be evaluated in a certain Environment. Usually takes parameters, that are also Expressions and have to be evaluated first.
Since:
3848 (creation), 10600 (functional interface)
  • Method Summary

    Modifier and Type
    Method
    Description
    Evaluate this expression.
  • Method Details

    • evaluate

      Evaluate this expression.
      Parameters:
      env - The environment
      Returns:
      the result of the evaluation, can be a List, String or any primitive type or wrapper classes of a primitive type.