All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentripplanner.routing.services.notes.MatcherAndStreetNote Maven / Gradle / Ivy

There is a newer version: 2.5.0
Show newest version
package org.opentripplanner.routing.services.notes;

import org.opentripplanner.model.StreetNote;

import java.io.Serializable;

/**
 * A container for a pair (note matcher, note).
 * 
 * @author laurent
 */
public class MatcherAndStreetNote implements Serializable {
    private static final long serialVersionUID = 1L;

    public MatcherAndStreetNote(NoteMatcher matcher, StreetNote note) {
        this.matcher = matcher;
        this.note = note;
    }

    private NoteMatcher matcher;

    private StreetNote note;

    public NoteMatcher getMatcher() {
        return matcher;
    }

    public StreetNote getNote() {
        return note;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy