Skip to content

"TrainThreads" - a multithreaded Java project demonstrating train management with locomotives, wagons, and methods for controlling speed, path completion percentage, and more.

Notifications You must be signed in to change notification settings

lapkinvladimir/TrainThreads

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

TrainThreads

"TrainThreads" is a Java application designed to manage trains made up of locomotives and wagons, with the goal of demonstrating multithreading in Java. The application includes methods to create trains, add wagons to them, and move the trains between start and end stations.

The project showcases various methods and fields for controlling train movement, such as those for adding or removing wagons, controlling train speed and percentage of completed path, and fields for storing information about the types and quantities of wagons.

The application is designed to provide a practical example for studying object-oriented programming concepts in Java, such as classes and objects, while also demonstrating multithreading concepts.

Overall, "TrainThreads" is a small yet interesting project that can be used to understand the basics of managing trains in a multithreaded environment, making it an ideal learning tool for beginners and intermediate-level Java developers alike.

About

"TrainThreads" - a multithreaded Java project demonstrating train management with locomotives, wagons, and methods for controlling speed, path completion percentage, and more.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages