de.saar.chorus.ubench
Class EdgeType

Object
  extended by EdgeType

public class EdgeType
extends Object

An edge type -- either solid or dominance. TODO This should be replaced by a proper enumeration. But Eclipse doesn't support enum types yet, so we'll use this hack for now. It is safe (and encouraged) to use EdgeType.solid and EdgeType.dominance and compare them with ==.

Author:
Alexander Koller

Field Summary
static EdgeType dominance
           
static int dominanceVal
           
static EdgeType solid
           
static int solidVal
           
 
Constructor Summary
EdgeType(int type)
           
 
Method Summary
 int getType()
           
 String toString()
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

solidVal

public static final int solidVal
See Also:
Constant Field Values

dominanceVal

public static final int dominanceVal
See Also:
Constant Field Values

solid

public static final EdgeType solid

dominance

public static final EdgeType dominance
Constructor Detail

EdgeType

public EdgeType(int type)
Parameters:
type -
Method Detail

getType

public int getType()
Returns:
Returns the type.

toString

public String toString()
Overrides:
toString in class Object