-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #227 from DartExplore/issue#226
Issue#226
- Loading branch information
Showing
6 changed files
with
98 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
src/main/java/com/dallasbymetro/backend/utility/StationNode.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.dallasbymetro.backend.utility; | ||
|
||
import com.dallasbymetro.backend.entity.Station; | ||
import com.dallasbymetro.backend.entity.StationColor; | ||
|
||
import java.util.Set; | ||
|
||
public class StationNode { | ||
public Station station; | ||
public int level; | ||
public int transferCount; | ||
public Set<StationColor> colors; | ||
|
||
public StationNode(Station station, int level, int transferCount, Set<StationColor> colors) { | ||
this.station = station; | ||
this.level = level; | ||
this.transferCount = transferCount; | ||
this.colors = colors; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters