More compactification.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2447 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
samskivert
2008-09-24 23:44:10 +00:00
parent 50be959ac8
commit 0bf5b3fbd9
@@ -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();
}
};