public class MetroFactoryHLApi extends Object implements MetroFactory
Constructor and Description |
---|
MetroFactoryHLApi() |
public Station station(String name)
station
in interface MetroFactory
name
- a station name.public Line line(String name)
line
in interface MetroFactory
name
- a line name.public Metro metro()
metro
in interface MetroFactory
Copyright © 2014. All rights reserved.