Skip to content

Interface NumExpr

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<NumExpr>, Expr, NumericExpr
All Known Implementing Classes:
NumField
public sealed interface NumExpr extends NumericExpr, Domain<NumExpr> permits NumField<V> (not exhaustive)
A num expression: an integer or a float, decided by the data.

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

  • Method Details

    • neg

      default NumExpr neg()
      Returns -this.
      Specified by:
      neg in interface NumericExpr
      Returns:
      -this
    • at

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

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