Skip to content

Class DynField

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.

java.lang.Object
dev.gecode.iris.Field<@Nullable Value>
dev.gecode.iris.build.DynField
All Implemented Interfaces:
Domain<DynExpr>, DynExpr, Expr, IntegralExpr, NumericExpr, TextualExpr
public final class DynField extends Field<@Nullable Value> implements DynExpr
A handle whose value type or depth is open: data.get(handle) returns the Value, or null if the entry is absent.

Iris.dynamic(String) declares one, Iris.undefined(String) names an entry that nothing may define, and every definition returns one for the name as it stands afterwards.

  • Method Details

    • readFrom

      protected @Nullable Value readFrom(Data data)
      Description copied from class: Field
      Reads the entry of this handle from data.
      Specified by:
      readFrom in class Field<@Nullable Value>
      Parameters:
      data - the data that a read produced
      Returns:
      the value of the entry, or null for an absent entry of an optional handle
    • toString

      public String toString()
      Overrides:
      toString in class Object