All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.khasanof.collector.questMethod.SearchMethodUtils Maven / Gradle / Ivy

There is a newer version: 1.2.2
Show newest version
package org.khasanof.collector.questMethod;

import org.khasanof.model.InvokerMethod;
import org.khasanof.model.InvokerResult;

import java.lang.reflect.Method;
import java.util.Map;
import java.util.Objects;

/**
 * @author Nurislom
 * @see org.khasanof.collector.questMethod
 * @since 12/9/2023 8:14 PM
 */
public abstract class SearchMethodUtils {

    public static InvokerResult resultCreator(Map.Entry entry) {
        return Objects.nonNull(entry) ? new InvokerMethod(entry.getKey(), entry.getValue()) : null;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy