Package | Description |
---|---|
io.druid.collections |
Modifier and Type | Method and Description |
---|---|
static <InType> CombiningIterable<InType> |
CombiningIterable.create(Iterable<InType> it,
Comparator<InType> comparator,
com.metamx.common.guava.nary.BinaryFn<InType,InType,InType> fn) |
static <InType> CombiningIterable<InType> |
CombiningIterable.createSplatted(Iterable<? extends Iterable<InType>> in,
Comparator<InType> comparator)
Creates a CombiningIterable around a MergeIterable such that equivalent elements are thrown away
If there are multiple Iterables in parameter "in" with equivalent objects, there are no guarantees
around which object will win.
|
Copyright © 2011–2015. All rights reserved.