Interface PropertySource.PartialVisitor<R>
-
- All Superinterfaces:
PropertySource.Visitor<R>
- Enclosing class:
- PropertySource
public static interface PropertySource.PartialVisitor<R> extends PropertySource.Visitor<R>
Partial visitor overPropertySourcewith a defaultotherwise(com.gdblab.pathAlgebra.expressions.PropertySource)branch.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Rotherwise(PropertySource instance)Default branch for unhandled cases.default Rvisit(PropertySource.EdgeProperty instance)Visit thePropertySource.EdgePropertycase.default Rvisit(PropertySource.NodeProperty instance)Visit thePropertySource.NodePropertycase.default Rvisit(PropertySource.PathProperty instance)Visit thePropertySource.PathPropertycase.
-
-
-
Method Detail
-
otherwise
default R otherwise(PropertySource instance)
Default branch for unhandled cases.
-
visit
default R visit(PropertySource.NodeProperty instance)
Visit thePropertySource.NodePropertycase.- Specified by:
visitin interfacePropertySource.Visitor<R>
-
visit
default R visit(PropertySource.EdgeProperty instance)
Visit thePropertySource.EdgePropertycase.- Specified by:
visitin interfacePropertySource.Visitor<R>
-
visit
default R visit(PropertySource.PathProperty instance)
Visit thePropertySource.PathPropertycase.- Specified by:
visitin interfacePropertySource.Visitor<R>
-
-