Skip to content

Interface DynExpr

Javadoc 27 generates this reference during each site build from the exported packages and the annotation processor. The Java guide shows the API in use.

All Superinterfaces:
Domain<DynExpr>, Expr, IntegralExpr, NumericExpr, TextualExpr
All Known Implementing Classes:
DynField
public sealed interface DynExpr extends IntegralExpr, TextualExpr, Domain<DynExpr> permits DynField (not exhaustive)
An expression with no static type, which every method accepts.

As a Domain, it gives a comprehension its elements, which are dynamic too.

  • Method Details

    • neg

      default DynExpr neg()
      Returns -this.
      Specified by:
      neg in interface NumericExpr
      Returns:
      -this
    • eq

      default IntExpr eq(DynExpr other)
      Returns this == other.
      Parameters:
      other - the right operand
      Returns:
      this == other
    • ne

      default IntExpr ne(DynExpr other)
      Returns this != other.
      Parameters:
      other - the right operand
      Returns:
      this != other
    • at

      default DynExpr at(IntegralExpr index)
      Returns this[index].
      Parameters:
      index - the index, counted from 0
      Returns:
      this[index]
    • at

      default DynExpr at(long index)
      Returns this[index].
      Parameters:
      index - the index, counted from 0
      Returns:
      this[index]