[Schmitzm-commits] r1664 - trunk/schmitzm-core/src/main/java/de/schmitzm/lang

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Aug 2 14:35:07 CEST 2011


Author: alfonx
Date: 2011-08-02 14:35:07 +0200 (Tue, 02 Aug 2011)
New Revision: 1664

Modified:
   trunk/schmitzm-core/src/main/java/de/schmitzm/lang/TimedHashMap.java
Log:
TimedHashMap um dioe Methode contains erweitert

Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/lang/TimedHashMap.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/lang/TimedHashMap.java	2011-08-01 14:30:42 UTC (rev 1663)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/lang/TimedHashMap.java	2011-08-02 12:35:07 UTC (rev 1664)
@@ -111,6 +111,11 @@
 	public int getTimeout() {
 		return timeout;
 	}
+	
+	@Override
+	public boolean containsKey(Object key) {
+		return get(key) != null;
+	}
 
 	@Override
 	public void clear() {



More information about the Schmitzm-commits mailing list