bicliqueviz
Class IDNodeTypePair
java.lang.Object
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
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
IDNodeTypePair
public IDNodeTypePair(int i,
boolean t)
- Parameters:
i
- id of vertext
- type of vertex, true= vertex A type, false vertex B type
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