Package provided.owlMaps.general
Interface IPaths<E>
- Type Parameters:
E
- The type of element held in the list
- All Superinterfaces:
java.io.Serializable
- All Known Subinterfaces:
IPath<E>
,IPathLatLng
,IPathList<E>
,IPathListLatLng
,IPathsLatLng
public interface IPaths<E>
extends java.io.Serializable
An abstraction that represents either a list of elements of type E (IPath<E>) or
a list of lists of element of type E (IPathList<E>).
This is a Standard Visitor pattern host.
- Author:
- swong
-
Method Summary
Modifier and Type Method Description <R, P> R
execute(IPathsAlgo<R,E,P> algo, P... params)
The "accept" method of the visitor hosts.
-
Method Details
-
execute
The "accept" method of the visitor hosts.- Type Parameters:
R
- The return type of the visitor algorithmP
- The parameter type of the visitor algorithm.- Parameters:
algo
- The visitor to acceptparams
- The parameters to pass to the visitor execution- Returns:
- The return value from the visitor execution.
-