Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
E
- EnumRequester<T extends Enum<T>> - Class in collectionManagers.modeManagers.userMode
-
A utility class for requesting an enum value from the user.
- EnumRequester() - Constructor for class collectionManagers.modeManagers.userMode.EnumRequester
- exceptions - package exceptions
- execute() - Method in class commandManagers.Command
-
Executes command.
- execute() - Method in interface commandManagers.CommandInterface
-
Executes the command.
- execute() - Method in class commandManagers.commands.Add
-
Adds a new city to the collection if an argument is not provided.
- execute() - Method in class commandManagers.commands.AddIfMin
-
Adds a new city to the collection if its population is less than the population of the smallest city in the collection.
- execute() - Method in class commandManagers.commands.Clear
-
Clears the collection if no argument is provided.
- execute() - Method in class commandManagers.commands.ExecuteScript
-
Executes the command by reading and parsing the script file.
- execute() - Method in class commandManagers.commands.Exit
-
Terminates the program by setting the isWorking variable in UserManager class to false.
- execute() - Method in class commandManagers.commands.Help
-
Prints information about the available commands in the program to the console.
- execute() - Method in class commandManagers.commands.History
-
Executes the History command
- execute() - Method in class commandManagers.commands.Info
-
Overrides the method execute() in the Command class.
- execute() - Method in class commandManagers.commands.PrintDescending
-
Executes the PrintDescending command by first checking if it has an argument, then retrieving the collection of cities and creating an ArrayList of cities.
- execute() - Method in class commandManagers.commands.PrintFieldDescendingMetersAboveSeaLevel
-
Overrides the method execute() in the Command class.
- execute() - Method in class commandManagers.commands.RemoveById
-
Overrides the method execute() in the Command class.
- execute() - Method in class commandManagers.commands.RemoveGreater
-
Executes the RemoveGreater command.
- execute() - Method in class commandManagers.commands.Save
-
Executes the Save command.
- execute() - Method in class commandManagers.commands.Show
-
Executes the Show command by printing all the cities in the collection.
- execute() - Method in class commandManagers.commands.SumOfMetersAboveSeaLevel
-
Computes the sum of meters above sea level of all cities in the collection and prints it to the console.
- execute() - Method in class commandManagers.commands.UpdateId
-
Executes the UpdateId command by updating a city with a specified id number in the collection.
- executeCommand(String[]) - Method in class commandManagers.CommandManager
-
Universe method for command executing.
- ExecuteScript - Class in commandManagers.commands
-
ExecuteScript is a class that represents the execute_script command.
- ExecuteScript() - Constructor for class commandManagers.commands.ExecuteScript
-
Constructs a new ExecuteScript object.
- Exit - Class in commandManagers.commands
-
The Exit class is a command that terminates the program.
- Exit() - Constructor for class commandManagers.commands.Exit
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form