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

io.serialized.client.projection.ProjectionDefinitions Maven / Gradle / Ivy

There is a newer version: 7.8.0
Show newest version
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