[Swift-commit] r4375 - trunk/src/org/griphyn/vdl/karajan/lib/cache
hategan at ci.uchicago.edu
hategan at ci.uchicago.edu
Thu Apr 14 14:31:15 CDT 2011
Author: hategan
Date: 2011-04-14 14:31:15 -0500 (Thu, 14 Apr 2011)
New Revision: 4375
Modified:
trunk/src/org/griphyn/vdl/karajan/lib/cache/CacheMapAdapter.java
trunk/src/org/griphyn/vdl/karajan/lib/cache/LRUFileCache.java
Log:
added a couple of toStrings
Modified: trunk/src/org/griphyn/vdl/karajan/lib/cache/CacheMapAdapter.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/cache/CacheMapAdapter.java 2011-04-14 19:28:02 UTC (rev 4374)
+++ trunk/src/org/griphyn/vdl/karajan/lib/cache/CacheMapAdapter.java 2011-04-14 19:31:15 UTC (rev 4375)
@@ -61,4 +61,8 @@
public Collection values() {
throw new UnsupportedOperationException();
}
+
+ public String toString() {
+ return cache.toString();
+ }
}
Modified: trunk/src/org/griphyn/vdl/karajan/lib/cache/LRUFileCache.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/cache/LRUFileCache.java 2011-04-14 19:28:02 UTC (rev 4374)
+++ trunk/src/org/griphyn/vdl/karajan/lib/cache/LRUFileCache.java 2011-04-14 19:31:15 UTC (rev 4375)
@@ -74,4 +74,8 @@
}
}
}
+
+ public String toString() {
+ return "LRU File Cache";
+ }
}
More information about the Swift-commit
mailing list