Package | Description |
---|---|
org.apache.storm.utils |
Modifier and Type | Method and Description |
---|---|
static <T> T |
Utils.findOne(IPredicate<T> pred,
Collection<T> coll)
Find the first item of coll for which pred.test(...) returns true.
|
static <T,U> T |
Utils.findOne(IPredicate<T> pred,
Map<U,T> map) |
Copyright © 2023 The Apache Software Foundation. All rights reserved.