More compactification.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2447 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -199,18 +199,13 @@ public class CountHashMap<K> extends HashMap<K, int[]>
|
||||
@Override public Iterator<Entry<E>> iterator () {
|
||||
final Iterator<Map.Entry<E, int[]>> itr = _superset.iterator();
|
||||
return new Iterator<Entry<E>>() {
|
||||
public boolean hasNext ()
|
||||
{
|
||||
public boolean hasNext () {
|
||||
return itr.hasNext();
|
||||
}
|
||||
|
||||
public Entry<E> next ()
|
||||
{
|
||||
public Entry<E> next () {
|
||||
return new CountEntryImpl<E>(itr.next());
|
||||
}
|
||||
|
||||
public void remove ()
|
||||
{
|
||||
public void remove () {
|
||||
itr.remove();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user