mirror of
https://github.com/apache/commons-collections.git
synced 2025-02-17 15:35:00 +00:00
Fix <Generic type> not being displayed in javadoc
Thanks to Ruben Anders This closes #16 git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1795689 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
117d7e80dc
commit
a26fcf58e4
@ -31,14 +31,14 @@ import java.util.Iterator;
|
|||||||
* In use, this iterator iterates through the keys in the map. After each call
|
* In use, this iterator iterates through the keys in the map. After each call
|
||||||
* to <code>next()</code>, the <code>getValue()</code> method provides direct
|
* to <code>next()</code>, the <code>getValue()</code> method provides direct
|
||||||
* access to the value. The value can also be set using <code>setValue()</code>.
|
* access to the value. The value can also be set using <code>setValue()</code>.
|
||||||
* <pre>
|
* <pre>{@code
|
||||||
* MapIterator<String,Integer> it = map.mapIterator();
|
* MapIterator<String,Integer> it = map.mapIterator();
|
||||||
* while (it.hasNext()) {
|
* while (it.hasNext()) {
|
||||||
* String key = it.next();
|
* String key = it.next();
|
||||||
* Integer value = it.getValue();
|
* Integer value = it.getValue();
|
||||||
* it.setValue(value + 1);
|
* it.setValue(value + 1);
|
||||||
* }
|
* }
|
||||||
* </pre>
|
* }</pre>
|
||||||
*
|
*
|
||||||
* @param <K> the type of the keys in the map
|
* @param <K> the type of the keys in the map
|
||||||
* @param <V> the type of the values in the map
|
* @param <V> the type of the values in the map
|
||||||
|
Loading…
x
Reference in New Issue
Block a user