![JAR search and dependency download from the Maven repository](/logo.png)
org.aya.util.RepoLike Maven / Gradle / Ivy
// Copyright (c) 2020-2023 Tesla (Yinsen) Zhang.
// Use of this source code is governed by the MIT license that can be found in the LICENSE.md file.
package org.aya.util;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public interface RepoLike {
void setDownstream(@Nullable T downstream);
default void merge() {
setDownstream(null);
}
default void fork(@NotNull T t) {
setDownstream(t);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy