public static class PlacementConstraint.Or extends PlacementConstraint.CompositeConstraint<PlacementConstraint.AbstractConstraint>
Constructor and Description |
---|
Or(List<PlacementConstraint.AbstractConstraint> children) |
Or(PlacementConstraint.AbstractConstraint... children) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(PlacementConstraint.Visitor<T> visitor)
Visitor pattern.
|
List<PlacementConstraint.AbstractConstraint> |
getChildren()
Get the children of this composite constraint.
|
String |
toString() |
equals, hashCode
build
public Or(List<PlacementConstraint.AbstractConstraint> children)
public Or(PlacementConstraint.AbstractConstraint... children)
public List<PlacementConstraint.AbstractConstraint> getChildren()
PlacementConstraint.CompositeConstraint
getChildren
in class PlacementConstraint.CompositeConstraint<PlacementConstraint.AbstractConstraint>
public <T> T accept(PlacementConstraint.Visitor<T> visitor)
PlacementConstraint.Visitable
T
- defines the type that the visitor will use and the return type
of the accept.visitor
- visitor to be usedpublic String toString()
toString
in class PlacementConstraint.AbstractConstraint
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.