--- jsr166/src/main/java/util/NavigableMap.java 2005/03/22 16:48:32 1.4 +++ jsr166/src/main/java/util/NavigableMap.java 2005/05/02 18:38:53 1.5 @@ -30,7 +30,7 @@ package java.util; * navigableTailMap differ from the similarly named * SortedMap methods only in that the returned maps * are guaranteed to obey the NavigableMap interface. - * + * *

This interface additionally defines methods firstEntry, * pollFirstEntry, lastEntry, and * pollLastEntry that return and/or remove the least and @@ -45,14 +45,14 @@ package java.util; * * @author Doug Lea * @param the type of keys maintained by this map - * @param the type of mapped values + * @param the type of mapped values */ public interface NavigableMap extends SortedMap { /** * Returns a key-value mapping associated with the least key * greater than or equal to the given key, or null if there is - * no such entry. - * + * no such entry. + * * @param key the key. * @return an Entry associated with ceiling of given key, or null * if there is no such Entry. @@ -66,7 +66,7 @@ public interface NavigableMap exten /** * Returns least key greater than or equal to the given key, or * null if there is no such key. - * + * * @param key the key. * @return the ceiling key, or null * if there is no such key. @@ -80,8 +80,8 @@ public interface NavigableMap exten /** * Returns a key-value mapping associated with the greatest * key strictly less than the given key, or null if there is no - * such entry. - * + * such entry. + * * @param key the key. * @return an Entry with greatest key less than the given * key, or null if there is no such Entry. @@ -95,7 +95,7 @@ public interface NavigableMap exten /** * Returns the greatest key strictly less than the given key, or * null if there is no such key. - * + * * @param key the key. * @return the greatest key less than the given * key, or null if there is no such key. @@ -110,7 +110,7 @@ public interface NavigableMap exten * Returns a key-value mapping associated with the greatest key * less than or equal to the given key, or null if there * is no such entry. - * + * * @param key the key. * @return an Entry associated with floor of given key, or null * if there is no such Entry. @@ -125,7 +125,7 @@ public interface NavigableMap exten * Returns the greatest key * less than or equal to the given key, or null if there * is no such key. - * + * * @param key the key. * @return the floor of given key, or null if there is no * such key. @@ -140,7 +140,7 @@ public interface NavigableMap exten * Returns a key-value mapping associated with the least key * strictly greater than the given key, or null if there * is no such entry. - * + * * @param key the key. * @return an Entry with least key greater than the given key, or * null if there is no such Entry. @@ -154,7 +154,7 @@ public interface NavigableMap exten /** * Returns the least key strictly greater than the given key, or * null if there is no such key. - * + * * @param key the key. * @return the least key greater than the given key, or * null if there is no such key. @@ -168,8 +168,8 @@ public interface NavigableMap exten /** * Returns a key-value mapping associated with the least * key in this map, or null if the map is empty. - * - * @return an Entry with least key, or null + * + * @return an Entry with least key, or null * if the map is empty. */ Map.Entry firstEntry(); @@ -177,7 +177,7 @@ public interface NavigableMap exten /** * Returns a key-value mapping associated with the greatest * key in this map, or null if the map is empty. - * + * * @return an Entry with greatest key, or null * if the map is empty. */ @@ -186,7 +186,7 @@ public interface NavigableMap exten /** * Removes and returns a key-value mapping associated with * the least key in this map, or null if the map is empty. - * + * * @return the removed first entry of this map, or null * if the map is empty. */ @@ -195,7 +195,7 @@ public interface NavigableMap exten /** * Removes and returns a key-value mapping associated with * the greatest key in this map, or null if the map is empty. - * + * * @return the removed last entry of this map, or null * if the map is empty. */ @@ -244,7 +244,7 @@ public interface NavigableMap exten * fromKey and toKey are equal, the returned * navigable map is empty.) The returned navigable map is backed * by this map, so changes in the returned navigable map are - * reflected in this map, and vice-versa. + * reflected in this map, and vice-versa. * * @param fromKey low endpoint (inclusive) of the subMap. * @param toKey high endpoint (exclusive) of the subMap. @@ -268,7 +268,7 @@ public interface NavigableMap exten * Returns a view of the portion of this map whose keys are strictly less * than toKey. The returned navigable map is backed by this map, so * changes in the returned navigable map are reflected in this map, and - * vice-versa. + * vice-versa. * @param toKey high endpoint (exclusive) of the headMap. * @return a view of the portion of this map whose keys are strictly * less than toKey.