Class MultiRelyingPartyContext.RelyingPartyContextIterator

java.lang.Object
net.shibboleth.idp.profile.context.MultiRelyingPartyContext.RelyingPartyContextIterator
All Implemented Interfaces:
Iterator<net.shibboleth.profile.context.RelyingPartyContext>
Enclosing class:
MultiRelyingPartyContext

private class MultiRelyingPartyContext.RelyingPartyContextIterator extends Object implements Iterator<net.shibboleth.profile.context.RelyingPartyContext>
Wrapper for an iterator that tracks the current object.
  • Field Details

    • iterator

      @Nonnull private final Iterator<net.shibboleth.profile.context.RelyingPartyContext> iterator
      Embedded iterator.
    • current

      @Nullable private net.shibboleth.profile.context.RelyingPartyContext current
      Current marker.
  • Constructor Details

    • RelyingPartyContextIterator

      public RelyingPartyContextIterator(@Nonnull MultiRelyingPartyContext ctx)
      Constructor.
      Parameters:
      ctx - outer context
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<net.shibboleth.profile.context.RelyingPartyContext>
    • next

      public net.shibboleth.profile.context.RelyingPartyContext next()
      Specified by:
      next in interface Iterator<net.shibboleth.profile.context.RelyingPartyContext>
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<net.shibboleth.profile.context.RelyingPartyContext>