io.serialized.client.projection.ProjectionDefinitions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of serialized-client Show documentation
Show all versions of serialized-client Show documentation
Java Client for Serialized APIs
package io.serialized.client.projection;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import static java.util.Collections.unmodifiableList;
public class ProjectionDefinitions {
private List definitions;
public static ProjectionDefinitions newDefinitionList(Collection definitions) {
ProjectionDefinitions projectionDefinitions = new ProjectionDefinitions();
projectionDefinitions.definitions = new ArrayList<>(definitions);
return projectionDefinitions;
}
public List getDefinitions() {
return unmodifiableList(definitions);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy