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:
parent
c493bb9126
commit
ad4e890878
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue