de.cau.cs.kieler.klay.layered.graph
Class LPort.SideCondition
java.lang.Object
de.cau.cs.kieler.klay.layered.graph.LPort.SideCondition
- All Implemented Interfaces:
- ICondition<LPort>
- Enclosing class:
- LPort
public static class LPort.SideCondition
- extends Object
- implements ICondition<LPort>
A condition that checks the side of ports.
- Rating

Method Summary |
boolean |
evaluate(LPort object)
Evaluate this condition on the given object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LPort.SideCondition
public LPort.SideCondition(PortSide theside)
- Creates a side condition.
- Parameters:
theside
- the side of port to admit
evaluate
public boolean evaluate(LPort object)
- Evaluate this condition on the given object.
- Specified by:
evaluate
in interface ICondition<LPort>
- Parameters:
object
- a target object
- Returns:
- true if the condition is met for the object