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

ai.stapi.graphoperations.graphLoader.GraphLoaderFindAsObjectOutput Maven / Gradle / Ivy

There is a newer version: 0.3.2
Show newest version
package ai.stapi.graphoperations.graphLoader;

import ai.stapi.graph.inMemoryGraph.InMemoryGraphRepository;
import ai.stapi.identity.UniqueIdentifier;
import java.util.ArrayList;
import java.util.List;

public class GraphLoaderFindAsObjectOutput {

  private final List data;
  private final GraphLoaderFindAsGraphOutput graphLoaderFindAsGraphOutput;

  public GraphLoaderFindAsObjectOutput() {
    this(new ArrayList<>(), new ArrayList<>(), new InMemoryGraphRepository());
  }

  public GraphLoaderFindAsObjectOutput(
      List data,
      List foundGraphElementUUIDs,
      InMemoryGraphRepository graph
  ) {
    this.data = data;
    this.graphLoaderFindAsGraphOutput = new GraphLoaderFindAsGraphOutput(foundGraphElementUUIDs, graph);
  }

  public List getData() {
    return data;
  }

  public GraphLoaderFindAsGraphOutput getGraphLoaderFindAsGraphOutput() {
    return graphLoaderFindAsGraphOutput;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy