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

org.molgenis.pathways.service.PathwaysPerGeneParameters Maven / Gradle / Ivy

There is a newer version: 5.2.2
Show newest version
package org.molgenis.pathways.service;

import com.google.auto.value.AutoValue;
import com.google.common.cache.LoadingCache;

/**
 * Parameter object used as key for the {@link LoadingCache} with Pathways per gene
 */
@AutoValue
abstract class PathwaysPerGeneParameters
{
	public abstract String getSpecies();

	public abstract String getGene();

	public String[] getGeneArray()
	{
		return new String[] { getGene() };
	}

	public static PathwaysPerGeneParameters create(String species, String gene)
	{
		return new AutoValue_PathwaysPerGeneParameters(species, gene);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy