From 77fcc58d1facffbc3af50be8c05985350e9f1355 Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Sun, 17 Apr 2016 15:01:44 -0400 Subject: Code maintenace and changes --- .../src/main/java/bjc/utils/funcdata/IFunctionalMap.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'BJC-Utils2/src/main/java/bjc/utils/funcdata/IFunctionalMap.java') diff --git a/BJC-Utils2/src/main/java/bjc/utils/funcdata/IFunctionalMap.java b/BJC-Utils2/src/main/java/bjc/utils/funcdata/IFunctionalMap.java index c5fe559..0c96a9f 100644 --- a/BJC-Utils2/src/main/java/bjc/utils/funcdata/IFunctionalMap.java +++ b/BJC-Utils2/src/main/java/bjc/utils/funcdata/IFunctionalMap.java @@ -58,7 +58,8 @@ public interface IFunctionalMap { * The function to use to transform values * @return The map where each value will be transformed after lookup */ - IFunctionalMap mapValues(Function transformer); + IFunctionalMap mapValues( + Function transformer); /** * Check if this map contains the specified key @@ -125,4 +126,12 @@ public interface IFunctionalMap { * @return A list of values in this map */ IFunctionalList valueList(); + + /** + * Extends this map, creating a new map that will delegate queries to + * the map, but store any added values itself + * + * @return An extended map + */ + IFunctionalMap extend(); } \ No newline at end of file -- cgit v1.2.3