Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
TriPOINT/src/edu/uconn/tripoint/export/CytoscapeEdge.java
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
29 lines (20 sloc)
416 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package edu.uconn.tripoint.export; | |
public abstract class CytoscapeEdge { | |
private int _id; | |
private CytoscapeNode _n1, _n2; | |
public CytoscapeEdge(int id, CytoscapeNode n1, CytoscapeNode n2){ | |
_id = id; | |
_n1 = n1; | |
_n2 = n2; | |
} | |
public int getId(){ | |
return _id; | |
} | |
public CytoscapeNode getN1(){ | |
return _n1; | |
} | |
public CytoscapeNode getN2(){ | |
return _n2; | |
} | |
public abstract String toJSON(); | |
} |