(class)
public abstract RecordFields
| default: | Construct an instance of this collection. |
| size: | The number of RecordFields in this collection. |
accessor public abstract RecordFields.size:
int
| get: | Returns a specific field in the collection. |
| get-index: | Find the index position of a field. |
|
public abstract
| {RecordFields.get-index name:String, error-if-missing?:bool = true }:int |
|
public abstract
| {RecordFields.to-Iterator}:{Iterator-of RecordField} |
(factory)
Construct an instance of this collection.
(accessor)
accessor public abstract RecordFields.size:
int The number of RecordFields in this collection.
(method)
Returns a specific field in the collection.
name:
String. The name of the field sought. A
RecordFieldNotFound exception will be thrown if a field with this name cannot be found.
Overriding
(method)
Get a field in the collection.
(method)
Returns a specific field in the collection.
name: String. The name of the field sought.
Returns
This method returns two values, a RecordField and a bool. If the second return value is true, the first return value is the field sought. Otherwise it is undefined.
Overriding
(method)
| public abstract
| {RecordFields.get-index name:String, error-if-missing?:bool = true }:int |
Find the index position of a field.
name: a String representing the name of the field in the collection.
error-if-missing?: bool. If
true, and no field with
name can be found, a
RecordFieldNotFound exception will be thrown.
Returns
The index of the field, or -1 if none found.
(method)
| public abstract
| {RecordFields.to-Iterator}:{Iterator-of RecordField} |