Class AttributeTypeBuilder.RoleIter

java.lang.Object
org.apache.sis.internal.util.AbstractIterator<AttributeRole>
org.apache.sis.feature.builder.AttributeTypeBuilder.RoleIter
All Implemented Interfaces:
Iterator<AttributeRole>
Enclosing class:
AttributeTypeBuilder<V>

private final class AttributeTypeBuilder.RoleIter extends AbstractIterator<AttributeRole>
The iterator returned by the AttributeTypeBuilder.roles() set.
  • Field Details

    • index

      private int index
      Index of the next AttributeRole to return.
  • Constructor Details

    • RoleIter

      private RoleIter()
  • Method Details

    • hasNext

      public boolean hasNext()
      Prepares the next AttributeRole on which to iterate and returns true if such AttributeRole has been found.
    • remove

      public void remove()
      Removes the element returned by the last AbstractIterator.next() method.