Class BusStop

    • Constructor Detail

    • Method Detail

      • setLines

        public final void setLines​(Set<String> lines)
        Sets the lines.
        Parameters:
        lines - Set<String>; lines that stop at this location
      • getLines

        public final ImmutableSet<String> getLines()
        Returns the lines set.
        Returns:
        whether the lines belongs to this stop
      • getConflicts

        public final Set<Conflict> getConflicts()
        Returns the downstream conflicts of the bus stop. Search is only performed over links with BUS_STOP priority.
        Returns:
        downstream conflicts of the given conflict
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object