diff options
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.java | 9 |
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; }); } |
