Skip to content

Commit

Permalink
[COLLECTIONS-523] Add javadoc and close pull request. This closes #2.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1654521 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
netomi committed Jan 24, 2015
1 parent dd5e51e commit 1ca6379
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -425,6 +425,12 @@ private long now() {
return System.currentTimeMillis();
}

/**
* Add the given key-value pair to this map as well as recording the entry's expiration time based on
* the current time in milliseconds and this map's {@link #expiringPolicy}.
* <p>
* {@inheritDoc}
*/
@Override
public V put(final K key, final V value) {
// record expiration time of new entry
Expand Down

0 comments on commit 1ca6379

Please sign in to comment.