uk.autores.handling.Sets Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of annotations Show documentation
Show all versions of annotations Show documentation
Annotation driven library for handling embedded resources
// Copyright 2023 https://github.com/autores-uk/autores/blob/main/LICENSE.txt
// SPDX-License-Identifier: Apache-2.0
package uk.autores.handling;
import java.util.Collections;
import java.util.LinkedHashSet;
import java.util.Set;
final class Sets {
private Sets() {}
static Set of(ConfigDef...defs) {
Set set = new LinkedHashSet<>();
Collections.addAll(set, defs);
return set;
}
}