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

org.biopax.paxtools.pattern.miner.SimpleIDFetcher Maven / Gradle / Ivy

package org.biopax.paxtools.pattern.miner;

import org.biopax.paxtools.model.BioPAXElement;

import java.util.Collections;
import java.util.Set;

/**
 * Simple gets the URI (of an entity reference);
 */
public class SimpleIDFetcher implements IDFetcher
{
	@Override
	public Set fetchID(BioPAXElement ele)
	{
		return Collections.singleton(ele.getUri());
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy