data.networks
Class ProteinPair

java.lang.Object
  extended by data.networks.ProteinPair

public class ProteinPair
extends Object

A pair of two proteins represented by their internal IDs. Needed by ProteinNetwork.getEdgesAsPairs()

Cannot be instantiated outside of the package.

Author:
Jan Krumsiek

Method Summary
 int getProtein1()
          Returns the first protein of the pair
 int getProtein2()
          Returns the second protein of the pair
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getProtein1

public int getProtein1()
Returns the first protein of the pair

Returns:
first protein

getProtein2

public int getProtein2()
Returns the second protein of the pair

Returns:
second protein