MATSIM
Section.java
Go to the documentation of this file.
1 /* *********************************************************************** *
2  * project: org.matsim.*
3  * Section.java
4  * *
5  * *********************************************************************** *
6  * *
7  * copyright : (C) 2007 by the members listed in the COPYING, *
8  * LICENSE and WARRANTY file. *
9  * email : info at matsim dot org *
10  * *
11  * *********************************************************************** *
12  * *
13  * This program is free software; you can redistribute it and/or modify *
14  * it under the terms of the GNU General Public License as published by *
15  * the Free Software Foundation; either version 2 of the License, or *
16  * (at your option) any later version. *
17  * See also COPYING, LICENSE and WARRANTY file *
18  * *
19  * *********************************************************************** */
20 
21 package org.matsim.counts.algorithms.graphs.helper;
22 
23 import java.util.List;
24 import java.util.Vector;
25 
26 public class Section {
27  private final String title_;
28  private List<MyURL> urls_;
29 
30  public Section(String title) {
31  this.urls_=new Vector<MyURL>();
32  this.title_=title;
33  }
34 
35  public void addURL(MyURL url){
36  this.urls_.add(url);
37  }
38 
39  public String getTitle() {
40  return this.title_;
41  }
42 
43  public List<MyURL> getURLs() {
44  return this.urls_;
45  }
46 }