Class MultiRelyingPartyContext.RelyingPartyContextIterator
- java.lang.Object
-
- net.shibboleth.idp.profile.context.MultiRelyingPartyContext.RelyingPartyContextIterator
-
- All Implemented Interfaces:
Iterator<RelyingPartyContext>
- Enclosing class:
- MultiRelyingPartyContext
private class MultiRelyingPartyContext.RelyingPartyContextIterator extends Object implements Iterator<RelyingPartyContext>
Wrapper for an iterator that tracks the current object.
-
-
Field Summary
Fields Modifier and Type Field Description private RelyingPartyContextcurrentCurrent marker.private Iterator<RelyingPartyContext>iteratorEmbedded iterator.private MultiRelyingPartyContextmultiCtxOuter ctx.
-
Constructor Summary
Constructors Constructor Description RelyingPartyContextIterator(MultiRelyingPartyContext ctx)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()RelyingPartyContextnext()voidremove()-
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
-
-
-
-
Field Detail
-
multiCtx
@Nonnull private final MultiRelyingPartyContext multiCtx
Outer ctx.
-
iterator
@Nonnull private final Iterator<RelyingPartyContext> iterator
Embedded iterator.
-
current
@Nullable private RelyingPartyContext current
Current marker.
-
-
Constructor Detail
-
RelyingPartyContextIterator
public RelyingPartyContextIterator(@Nonnull MultiRelyingPartyContext ctx)Constructor.- Parameters:
ctx- outer context
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIterator<RelyingPartyContext>
-
next
public RelyingPartyContext next()
- Specified by:
nextin interfaceIterator<RelyingPartyContext>
-
remove
public void remove()
- Specified by:
removein interfaceIterator<RelyingPartyContext>
-
-