From 8a8b457c98e207d809a7616e73eb59bfe197a7a5 Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Thu, 31 Mar 2016 11:43:21 -0400 Subject: More code maintenance --- BJC-Utils2/src/main/java/bjc/utils/data/IHolder.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'BJC-Utils2/src/main/java/bjc/utils/data/IHolder.java') diff --git a/BJC-Utils2/src/main/java/bjc/utils/data/IHolder.java b/BJC-Utils2/src/main/java/bjc/utils/data/IHolder.java index 3675842..6290d5f 100644 --- a/BJC-Utils2/src/main/java/bjc/utils/data/IHolder.java +++ b/BJC-Utils2/src/main/java/bjc/utils/data/IHolder.java @@ -17,10 +17,10 @@ public interface IHolder { /** * Call a provided function with the value being held * - * @param f + * @param action * The function to call */ - public void doWith(Consumer f); + public void doWith(Consumer action); /** * Return the result of applying the given transformation to the held @@ -29,21 +29,21 @@ public interface IHolder { * @param * The new type of the held value * - * @param f + * @param transformer * The transformation to apply * @return A holder with the transformed value */ - public IHolder map(Function f); + public IHolder map(Function transformer); /** * Apply the given transformation to the held value. Returns the holder * for allowing chaining of transforms * - * @param f + * @param transformer * The transform to apply to the value * @return The holder */ - public IHolder transform(Function f); + public IHolder transform(Function transformer); /** * Returns a raw mapped value, not contained in a GenHolder @@ -51,9 +51,9 @@ public interface IHolder { * @param * The type of the value that is the end result * - * @param f + * @param unwrapper * The function to use for mapping the value * @return The mapped value outside of a GenHolder */ - public E unwrap(Function f); + public E unwrap(Function unwrapper); } \ No newline at end of file -- cgit v1.2.3