public class ProfileResponse extends Object
Constructor and Description |
---|
ProfileResponse(Collection<Option> allOptions,
Option.SortOrder orderBy,
int limit)
The constructed response will include all the options that do not use transit,
as well as the top N options that do use transit for each access mode.
|
public ProfileResponse(Collection<Option> allOptions, Option.SortOrder orderBy, int limit)
allOptions
- a collection of Options with a mix of all access and egress modes, using transit or not.orderBy
- specifies how the top N transit options will be chosen.limit
- the maximum number of transit options to include in the response per access mode.
zero or negative means no limit.Copyright © 2019. All rights reserved.