View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.design.visibilitymodifier;
2   
3   import java.io.*;
4   import java.util.*;
5   
6   class StringEntrySet {
7       private final Set<Map.Entry<Integer,Integer>> s;
8       public StringEntrySet(Set<Map.Entry<Integer,Integer>> s) {this.s = s;}
9       public Iterator<Map.Entry<String,String>> iterator() {
10          return new Iterator<Map.Entry<String,String>>() {
11              Iterator<Map.Entry<Integer,Integer>> i = s.iterator();
12              public boolean hasNext() {return i.hasNext();}
13              public Map.Entry<String,String> next() {
14                  return null;
15              }
16              public void remove() {i.remove();}
17          };
18      }
19  }
20      
21