summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/data/IPair.java
diff options
context:
space:
mode:
authorbculkin2442 <bjculkin@mix.wvu.edu>2016-03-31 11:43:21 -0400
committerbculkin2442 <bjculkin@mix.wvu.edu>2016-03-31 11:43:21 -0400
commit8a8b457c98e207d809a7616e73eb59bfe197a7a5 (patch)
tree36fcbb7f10e92adbfb866fced7f27af1ef89f636 /BJC-Utils2/src/main/java/bjc/utils/data/IPair.java
parent32b1b46fcc855fffe6b0dddd10442a9a4f1544d2 (diff)
More code maintenance
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/data/IPair.java')
-rw-r--r--BJC-Utils2/src/main/java/bjc/utils/data/IPair.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/BJC-Utils2/src/main/java/bjc/utils/data/IPair.java b/BJC-Utils2/src/main/java/bjc/utils/data/IPair.java
index fcf5618..e2ee6a4 100644
--- a/BJC-Utils2/src/main/java/bjc/utils/data/IPair.java
+++ b/BJC-Utils2/src/main/java/bjc/utils/data/IPair.java
@@ -25,23 +25,23 @@ public interface IPair<L, R> {
* @param <R2>
* The new right type of the pair
*
- * @param lf
+ * @param leftTransformer
* The function to apply to the left value.
- * @param rf
+ * @param rightTransformer
* The function to apply to the right value.
* @return A new pair containing the two modified values.
*/
- public <L2, R2> IPair<L2, R2> apply(Function<L, L2> lf,
- Function<R, R2> rf);
+ public <L2, R2> IPair<L2, R2> apply(Function<L, L2> leftTransformer,
+ Function<R, R2> rightTransformer);
/**
* Execute an action with the values of this pair. Has no effect on the
* internal contents
*
- * @param bc
+ * @param action
* The action to execute on the values
*/
- public void doWith(BiConsumer<L, R> bc);
+ public void doWith(BiConsumer<L, R> action);
/**
* Collapse this pair to a single value. Does not change the internal
@@ -50,9 +50,9 @@ public interface IPair<L, R> {
* @param <E>
* The resulting type after merging
*
- * @param bf
+ * @param merger
* The function to use to collapse the pair.
* @return The collapsed value.
*/
- public <E> E merge(BiFunction<L, R, E> bf);
+ public <E> E merge(BiFunction<L, R, E> merger);
} \ No newline at end of file