summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/data/IPair.java
diff options
context:
space:
mode:
authorbculkin2442 <bjculkin@mix.wvu.edu>2016-04-22 14:29:05 -0400
committerbculkin2442 <bjculkin@mix.wvu.edu>2016-04-22 14:29:05 -0400
commitb65b705c391bb772bc41269bce5243c1cc88969d (patch)
tree504ab01aa5faff923a3b278843c41059a4ca2a95 /BJC-Utils2/src/main/java/bjc/utils/data/IPair.java
parente5c81a00b31a12933cf06aaeb94877dceb3ef8dd (diff)
Formatting changes
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.java9
1 files changed, 6 insertions, 3 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 3d4998c..ce38d60 100644
--- a/BJC-Utils2/src/main/java/bjc/utils/data/IPair.java
+++ b/BJC-Utils2/src/main/java/bjc/utils/data/IPair.java
@@ -84,13 +84,16 @@ public interface IPair<LeftType, RightType> {
}
/**
- * Immediately perfom the specified action with the contents of this pair
- * @param consumer The action to perform on the pair
+ * Immediately perfom the specified action with the contents of this
+ * pair
+ *
+ * @param consumer
+ * The action to perform on the pair
*/
public default void doWith(BiConsumer<LeftType, RightType> consumer) {
merge((leftValue, rightValue) -> {
consumer.accept(leftValue, rightValue);
-
+
return null;
});
}