de.saar.chorus.ubench
Class EdgeType
Object
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
Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
EdgeType
public EdgeType(int type)
- Parameters:
type
-
getType
public int getType()
- Returns:
- Returns the type.
toString
public String toString()
- Overrides:
toString
in class Object