Package net.shibboleth.shared.collection
Class ReflectionSafeIterator<T>
java.lang.Object
net.shibboleth.shared.collection.ReflectionSafeIterator<T>
- Type Parameters:
T- iterator type
- All Implemented Interfaces:
Iterator<T>
@Deprecated(forRemoval=true,
since="9.0.0")
public class ReflectionSafeIterator<T>
extends Object
implements Iterator<T>
Deprecated, for removal: This API element is subject to removal in a future version.
Wrapper class for delegating publically to
Iterator implementations that
may themselves be private.
This addresses bugs in Java that result from old implementations of collection classes that were never cleaned up to work properly in Java 17+ after access to JDK internals was clossed off.
- Since:
- 8.2.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Constructor. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Field Details
-
iter
Deprecated, for removal: This API element is subject to removal in a future version.Wrapped iterator.
-
-
Constructor Details
-
ReflectionSafeIterator
Deprecated, for removal: This API element is subject to removal in a future version.Constructor.- Parameters:
i- iterator to wrap
-
-
Method Details