Updating javadoc as per COLLECTIONS-262 - the firstKey and lastKey javadoc methods were back to front for parts of their description

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@608030 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2008-01-02 07:23:14 +00:00
parent c493bb9126
commit ad4e890878
1 changed files with 4 additions and 4 deletions

View File

@ -168,9 +168,9 @@ public class AbstractLinkedMap extends AbstractHashedMap implements OrderedMap {
//-----------------------------------------------------------------------
/**
* Gets the first key in the map, which is the most recently inserted.
* Gets the first key in the map, which is the first inserted.
*
* @return the most recently inserted key
* @return the eldest key
*/
public Object firstKey() {
if (size == 0) {
@ -180,9 +180,9 @@ public class AbstractLinkedMap extends AbstractHashedMap implements OrderedMap {
}
/**
* Gets the last key in the map, which is the first inserted.
* Gets the last key in the map, which is the most recently inserted.
*
* @return the eldest key
* @return the most recently inserted key
*/
public Object lastKey() {
if (size == 0) {