bicliqueviz
Class IDNodeTypePair

java.lang.Object
  extended by bicliqueviz.IDNodeTypePair

public class IDNodeTypePair
extends java.lang.Object

Represents a pair of an vertex ID and vertex type (A or B)

Author:
Martin Schwartz

Constructor Summary
IDNodeTypePair(int i, boolean t)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int getID()
           
 boolean getNodeType()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IDNodeTypePair

public IDNodeTypePair(int i,
                      boolean t)
Parameters:
i - id of vertex
t - type of vertex, true= vertex A type, false vertex B type
Method Detail

getID

public int getID()
Returns:
id of vertex

getNodeType

public boolean getNodeType()
Returns:
type of vertex

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object