git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131501 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Phil Steitz 2004-01-03 05:15:00 +00:00
parent c645e510d8
commit 0038c2a0e9
1 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/map/AbstractHashedMap.java,v 1.5 2004/01/02 01:36:52 psteitz Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/map/AbstractHashedMap.java,v 1.6 2004/01/03 05:15:00 psteitz Exp $
* ==================================================================== * ====================================================================
* *
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
@ -88,7 +88,7 @@ import org.apache.commons.collections.MapIterator;
* need for unusual subclasses is here. * need for unusual subclasses is here.
* *
* @since Commons Collections 3.0 * @since Commons Collections 3.0
* @version $Revision: 1.5 $ $Date: 2004/01/02 01:36:52 $ * @version $Revision: 1.6 $ $Date: 2004/01/03 05:15:00 $
* *
* @author java util HashMap * @author java util HashMap
* @author Stephen Colebourne * @author Stephen Colebourne
@ -170,7 +170,7 @@ public class AbstractHashedMap implements IterableMap {
* @param initialCapacity the initial capacity * @param initialCapacity the initial capacity
* @param loadFactor the load factor * @param loadFactor the load factor
* @throws IllegalArgumentException if the initial capacity is less than one * @throws IllegalArgumentException if the initial capacity is less than one
* @throws IllegalArgumentException if the load factor is less than zero * @throws IllegalArgumentException if the load factor is less than or equal to zero
*/ */
protected AbstractHashedMap(int initialCapacity, float loadFactor) { protected AbstractHashedMap(int initialCapacity, float loadFactor) {
super(); super();
@ -383,8 +383,8 @@ public class AbstractHashedMap implements IterableMap {
* The reverse conversion can be changed, if required, by overriding the * The reverse conversion can be changed, if required, by overriding the
* getKey() method in the hash entry. * getKey() method in the hash entry.
* *
* @param key the key to get a hash code for * @param key the key convert
* @return the hash code * @return the converted key
*/ */
protected Object convertKey(Object key) { protected Object convertKey(Object key) {
return (key == null ? NULL : key); return (key == null ? NULL : key);