new Function<PathAnalysisRequest, PathAndMax>()
{
@Override
public PathAndMax apply(PathAnalysisRequest request)
{
return new PathAndMax(request.getPath(), request.getMax());
}
}
);
PathAnalyzer analyzer = new PathAnalyzer(context.getExhibitor(), pathAndMaxes);
Analysis analysis = analyzer.analyze();