- Summary:
- Nested |
- Field |
- Constr |
- Method
- Detail:
- Field |
- Constr |
- Method
-
- All Superinterfaces:
- java.lang.AutoCloseable, java.util.Iterator<T>
public interface CloseableIterator<T>
extends java.util.Iterator<T>, java.lang.AutoCloseable
Unification of Iterator and AutoCloseable
- Since:
- 5.2
-
-
Method Summary
-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
-
Method Detail
-
close
void close()
- Specified by:
close
in interface java.lang.AutoCloseable
- Summary:
- Nested |
- Field |
- Constr |
- Method
- Detail:
- Field |
- Constr |
- Method
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.