summaryrefslogtreecommitdiff
path: root/base/src/main/java/bjc/utils/funcutils/CollectorUtils.java
diff options
context:
space:
mode:
authorBenjamin J. Culkin <bjculkin@mix.wvu.edu>2017-10-11 22:49:16 -0300
committerBenjamin J. Culkin <bjculkin@mix.wvu.edu>2017-10-11 22:49:16 -0300
commit8923edffdb36b790014ff47301e53f7ede93ea0d (patch)
treee1cff9168eb79110a8832249d208f2978f549a04 /base/src/main/java/bjc/utils/funcutils/CollectorUtils.java
parent946cab444bc301d8a7c756a1bab039558288de89 (diff)
Cleanup more
Diffstat (limited to 'base/src/main/java/bjc/utils/funcutils/CollectorUtils.java')
-rw-r--r--base/src/main/java/bjc/utils/funcutils/CollectorUtils.java27
1 files changed, 17 insertions, 10 deletions
diff --git a/base/src/main/java/bjc/utils/funcutils/CollectorUtils.java b/base/src/main/java/bjc/utils/funcutils/CollectorUtils.java
index a044bfd..2da5967 100644
--- a/base/src/main/java/bjc/utils/funcutils/CollectorUtils.java
+++ b/base/src/main/java/bjc/utils/funcutils/CollectorUtils.java
@@ -9,27 +9,34 @@ import bjc.utils.data.IPair;
* Utilities for producing implementations of {@link Collector}
*
* @author ben
- *
*/
public class CollectorUtils {
/**
- * Create a collector that applies two collectors at once
+ * Create a collector that applies two collectors at once.
*
* @param <InitialType>
- * The type of the collection to collect from
+ * The type of the collection to collect from.
+ *
* @param <AuxType1>
- * The intermediate type of the first collector
+ * The intermediate type of the first collector.
+ *
* @param <AuxType2>
- * The intermediate type of the second collector
+ * The intermediate type of the second collector.
+ *
* @param <FinalType1>
- * The final type of the first collector
+ * The final type of the first collector.
+ *
* @param <FinalType2>
- * The final type of the second collector
+ * The final type of the second collector.
+ *
* @param first
- * The first collector to use
+ * The first collector to use.
+ *
* @param second
- * The second collector to use
- * @return A collector that functions as mentioned above
+ * The second collector to use.
+ *
+ * @return
+ * A collector that functions as mentioned above.
*/
public static <InitialType, AuxType1, AuxType2, FinalType1, FinalType2> Collector<InitialType, IHolder<IPair<AuxType1, AuxType2>>, IPair<FinalType1, FinalType2>> compoundCollect(
final Collector<InitialType, AuxType1, FinalType1> first,