File tree Expand file tree Collapse file tree
microsphere-java-core/src/main/java/io/microsphere/collection Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020import java .util .function .Consumer ;
2121
2222/**
23- * Unmodifiable {@link Iterator}
23+ * An {@link Iterator} that cannot be modified. This class wraps a given iterator and ensures that any attempt to modify the
24+ * underlying data structure via the iterator is prevented by throwing an {@link UnsupportedOperationException}.
25+ *
26+ * <p>This implementation inherits the read-only behavior from its parent class, which disables the use of the
27+ * {@link Iterator#remove()} method.
2428 *
2529 * @param <E> the type of elements returned by this iterator
2630 * @author <a href="mailto:mercyblitz@gmail.com">Mercy</a>
31+ * @see ReadOnlyIterator
2732 * @since 1.0.0
2833 */
2934public class UnmodifiableIterator <E > extends ReadOnlyIterator <E > {
You can’t perform that action at this time.
0 commit comments