mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 10:20:56 +07:00
12 lines
272 B
Java
12 lines
272 B
Java
import java.util.*;
|
|
|
|
@FunctionalInterface
|
|
interface InfiniteIntIterator extends InfiniteIterator<Integer>, PrimitiveIterator.OfInt {}
|
|
|
|
@FunctionalInterface
|
|
interface InfiniteIterator<T> extends Iterator<T> {
|
|
@Override
|
|
default boolean hasNext() {
|
|
return true;
|
|
}
|
|
} |