public static <T, P> T detectWithIfNone(
            T[] objectArray,
            Predicate2<? super T, P> predicate,
            P parameter,
            T ifNone)
    {
        T result = ArrayIterate.detectWith(objectArray, predicate, parameter);
        return result == null ? ifNone : result;
    }
public static < T , P > T detectWithIfNone ( T [ ] objectArray , Predicate2 < ? super T , P > predicate , P parameter , T ifNone ) { T result = ArrayIterate . detectWith ( objectArray , predicate , parameter ) ; return result == null ? ifNone : result ; }
@see Iterate#detectWithIfNone(Iterable, Predicate2, Object, Object)