Class DefaultRecord.Iter

java.lang.Object
org.apache.sis.util.iso.DefaultRecord.Iter
All Implemented Interfaces:
Iterator<Map.Entry<org.opengis.util.MemberName,Object>>
Enclosing class:
DefaultRecord

private final class DefaultRecord.Iter extends Object implements Iterator<Map.Entry<org.opengis.util.MemberName,Object>>
The iterator to be returned by DefaultRecord.getAttributes().entrySet().iterator(). AbstractMap (indirectly) and AbstractSet use this iterator for providing a default implementation of most methods.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private int
    Index of the next record field to return in the iteration.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if there is more record fields to iterate over.
    Map.Entry<org.opengis.util.MemberName,Object>
    Returns an entry containing the name and value of the next record field.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.Iterator

    forEachRemaining, remove
  • Field Details

    • index

      private int index
      Index of the next record field to return in the iteration.
  • Constructor Details

    • Iter

      private Iter()
  • Method Details

    • hasNext

      public boolean hasNext()
      Returns true if there is more record fields to iterate over.
      Specified by:
      hasNext in interface Iterator<Map.Entry<org.opengis.util.MemberName,Object>>
    • next

      public Map.Entry<org.opengis.util.MemberName,Object> next()
      Returns an entry containing the name and value of the next record field.
      Specified by:
      next in interface Iterator<Map.Entry<org.opengis.util.MemberName,Object>>