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

org.zodiac.actuate.health.AppNamedContributors Maven / Gradle / Ivy

There is a newer version: 1.6.8
Show newest version
package org.zodiac.actuate.health;

import java.util.stream.Stream;
import java.util.stream.StreamSupport;

public interface AppNamedContributors extends Iterable> {

    /**
     * Return the contributor with the given name.
     * 
     * @param name
     *            the name of the contributor
     * @return a contributor instance of {@code null}
     */
    C getContributor(String name);

    /**
     * Return a stream of the {@link AppNamedContributors named contributors}.
     * 
     * @return the stream of named contributors
     */
    default Stream> stream() {
        return StreamSupport.stream(spliterator(), false);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy