Class RecordExpr
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.build.RecordExpr
One record: selected by index, or a comprehension's variable.
record.get(field) looks up
one of its fields.-
Method Summary
Modifier and TypeMethodDescriptionat(long index) Returnsrecord[index], for a record that is itself a list.at(IntegralExpr index) Returnsrecord[index], for a record that is itself a list.Returnsrecord.name.get(FloatField<?> field) Returnsrecord.name.Returnsrecord.name.Returnsrecord.name.get(StringField<?> field) Returnsrecord.name.records(RecordName inner) Returns the records of the nested repeatinnerin this record.
-
Method Details
-
get
-
get
Returnsrecord.name.- Parameters:
field- the handle of the field- Returns:
record.name
-
get
-
get
Returnsrecord.name.- Parameters:
field- the handle of the field- Returns:
record.name
-
get
-
at
Returnsrecord[index], for a record that is itself a list.- Parameters:
index- the index, counted from 0- Returns:
record[index], for a record that is itself a list
-
at
Returnsrecord[index], for a record that is itself a list.- Parameters:
index- the index, counted from 0- Returns:
record[index], for a record that is itself a list
-
records
Returns the records of the nested repeatinnerin this record.- Parameters:
inner- the record name of a repeat inside this record's repeat- Returns:
- the records of the nested repeat
innerin this record
-