getRoutesByPathLength method
Gets routes with AS path length less than or equal to maxLength
Implementation
List<BGPRouteEntry<T>> getRoutesByPathLength(int maxLength) =>
routes.values.where((route) => route.asPathLength <= maxLength).toList();
Gets routes with AS path length less than or equal to maxLength
List<BGPRouteEntry<T>> getRoutesByPathLength(int maxLength) =>
routes.values.where((route) => route.asPathLength <= maxLength).toList();