Package org.apache.sis.util.iso
Class DefaultRecord.Entry
java.lang.Object
org.apache.sis.internal.util.AbstractMapEntry<org.opengis.util.MemberName,Object>
org.apache.sis.util.iso.DefaultRecord.Entry
- Enclosing class:
DefaultRecord
private final class DefaultRecord.Entry
extends AbstractMapEntry<org.opengis.util.MemberName,Object>
A single entry in the map returned by
DefaultRecord.getAttributes()
.
Operations on this entry delegate to DefaultRecord.locate(MemberName)
and DefaultRecord.set(MemberName, Object)
methods.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
Index of the record field represented by this entry. -
Constructor Summary
ConstructorsConstructorDescriptionEntry
(int index) Creates a new entry for the record field at the given index. -
Method Summary
Methods inherited from class org.apache.sis.internal.util.AbstractMapEntry
equals, hashCode, toString
-
Field Details
-
index
private final int indexIndex of the record field represented by this entry.
-
-
Constructor Details
-
Entry
Entry(int index) Creates a new entry for the record field at the given index.
-
-
Method Details
-
getKey
public org.opengis.util.MemberName getKey()Returns the name of the record field contained in this entry. -
getValue
Returns the current record field value. -
setValue
Sets the record field value and returns the previous value.
-