blob: 9ee35687cb2a7ec79c137d53d00fd80455e4827d [file] [log] [blame]
import java.util.*;
class A<K, V> {
public Iterator<Map.Entry<K, V>> iterator(long revision) {
return new MyIterator<>();
}
private static class MyIterator<K, V> implements Iterator<Map.Entry<K, V>> {
public boolean hasNext() {
return false;
}
public Map.Entry<K, V> next() {
return null;
}
public void remove() {
}
}
}