Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
C
- canBeNull - Static variable in interface collectionManagers.validators.Validator
- canBeNull(boolean) - Method in class collectionManagers.validators.InputValidator
- checkArgument(Object) - Method in class commandManagers.Command
-
Checks if the given inputArgument is valid for this command.
- checkArgument(Object) - Method in interface commandManagers.CommandInterface
-
Checks if the provided argument is valid for the command.
- checkArgument(Object) - Method in class commandManagers.commands.Add
-
Checks whether an argument is provided or not.
- checkArgument(Object) - Method in class commandManagers.commands.AddIfMin
-
Checks whether an argument is provided or not.
- checkArgument(Object) - Method in class commandManagers.commands.Clear
-
Checks whether an argument is provided or not.
- checkArgument(Object) - Method in class commandManagers.commands.ExecuteScript
- checkArgument(Object) - Method in class commandManagers.commands.Exit
-
Checks if the argument of the Exit command is null.
- checkArgument(Object) - Method in class commandManagers.commands.Help
-
Checks if the argument of the Exit command is null.
- checkArgument(Object) - Method in class commandManagers.commands.History
-
Checks whether the argument is valid for the History command
- checkArgument(Object) - Method in class commandManagers.commands.Info
-
Checks if the argument of the Info command is null.
- checkArgument(Object) - Method in class commandManagers.commands.PrintDescending
-
Checks whether the PrintDescending command has an argument.
- checkArgument(Object) - Method in class commandManagers.commands.PrintFieldDescendingMetersAboveSeaLevel
-
Overrides the method checkArgument(Object inputArgument) in the Command class.
- checkArgument(Object) - Method in class commandManagers.commands.RemoveById
- checkArgument(Object) - Method in class commandManagers.commands.RemoveGreater
-
Checks whether the given argument is valid for this command.
- checkArgument(Object) - Method in class commandManagers.commands.Save
-
Checks whether the given argument is valid for this command.
- checkArgument(Object) - Method in class commandManagers.commands.Show
-
Checks if the input argument is valid for the Show command.
- checkArgument(Object) - Method in class commandManagers.commands.SumOfMetersAboveSeaLevel
-
Checks if the input argument is null, and returns true if it is, or false and prints an error message otherwise.
- checkArgument(Object) - Method in class commandManagers.commands.UpdateId
-
Checks if the input argument is valid for the UpdateId command.
- checkCityById(Long) - Static method in class collectionManagers.IdManager
-
Checks if a City object with the given ID exists in the collection, and if so, returns it
- City - Class in collection.City
-
Main class for City objects, stored in TreeSet collection
- City() - Constructor for class collection.City.City
- City(long, String, Coordinates, Date, Integer, int, Double, Climate, Government, StandardOfLiving, Human) - Constructor for class collection.City.City
- CityCLIManager - Class in collectionManagers.modeManagers.userMode
-
This class implements the ModeManager interface for City objects.
- CityCLIManager() - Constructor for class collectionManagers.modeManagers.userMode.CityCLIManager
- CityComparator - Class in collection.comparators
-
This class provides a comparator for the City class that compares two cities based on their natural order using the compareTo method of the City class.
- CityComparator() - Constructor for class collection.comparators.CityComparator
- CityComparatorByMetersAboveSeaLevel - Class in collection.comparators
-
This class provides a comparator for the City class that compares two cities based on their elevation in meters above sea level.
- CityComparatorByMetersAboveSeaLevel() - Constructor for class collection.comparators.CityComparatorByMetersAboveSeaLevel
- CityManager - Class in collectionManagers
-
CollectionManager is a class for working with a TreeSet collection of City objects.
- CityManager() - Constructor for class collectionManagers.CityManager
- CityNonUserManager - Class in collectionManagers.modeManagers.nonUserMode
-
A ModeManager implementation for generating City objects without user input.
- CityNonUserManager(Scanner) - Constructor for class collectionManagers.modeManagers.nonUserMode.CityNonUserManager
-
Constructor for setup handler's scanner.
- CityValidator - Class in collectionManagers.validators
-
Implementation of validator for City
- CityValidator() - Constructor for class collectionManagers.validators.CityValidator
- Clear - Class in commandManagers.commands
-
Command to clear the collection.
- Clear() - Constructor for class commandManagers.commands.Clear
- clearCollection() - Method in class collectionManagers.CityManager
-
Removes all elements from the cityTreeSet collection.
- clearCollection() - Method in interface collectionManagers.CollectionManager
-
Provides method for fast clear element in collection.
- CLI_UserMode - Enum constant in enum class commandManagers.CommandMode
-
Commands will use user-friendly interaction.
- Climate - Enum Class in collection.City
-
Enum for different climate types
- ClimateCLIManager - Class in collectionManagers.modeManagers.userMode
-
The ClimateCLIManager class is responsible for managing the Climate mode in the user interface.
- ClimateCLIManager() - Constructor for class collectionManagers.modeManagers.userMode.ClimateCLIManager
- collection.City - package collection.City
- collection.comparators - package collection.comparators
- CollectionManager<T extends AbstractCollection<E>,
E> - Interface in collectionManagers - collectionManagers - package collectionManagers
- collectionManagers.modeManagers - package collectionManagers.modeManagers
- collectionManagers.modeManagers.nonUserMode - package collectionManagers.modeManagers.nonUserMode
- collectionManagers.modeManagers.userMode - package collectionManagers.modeManagers.userMode
- collectionManagers.validators - package collectionManagers.validators
- Command - Class in commandManagers
-
Abstract class representing a command that can be executed in the program.
- Command(boolean) - Constructor for class commandManagers.Command
-
Constructs a new command with the specified argument requirement.
- CommandExecutor - Class in commandManagers
-
A class for executing commands from an input stream.
- CommandExecutor() - Constructor for class commandManagers.CommandExecutor
- CommandInterface - Interface in commandManagers
-
An interface that represents a command object that can be executed and checked for valid arguments.
- CommandInterruptedException - Exception in exceptions
-
An exception that represents an interruption in the execution of a command.
- CommandInterruptedException(Exception) - Constructor for exception exceptions.CommandInterruptedException
-
Constructs a new CommandInterruptedException with the specified cause.
- CommandManager - Class in commandManagers
-
The CommandManager class is responsible for managing all available commands in the application.
- CommandManager() - Constructor for class commandManagers.CommandManager
-
Default command manager setup.
- CommandManager(CommandMode, Scanner) - Constructor for class commandManagers.CommandManager
-
Constructor provides choice of commands behavior: ex.
- commandManagers - package commandManagers
- commandManagers.commands - package commandManagers.commands
- CommandMode - Enum Class in commandManagers
-
Contains information about mode of commands behavior
- COMMUNISM - Enum constant in enum class collection.City.Government
- compare(City, City) - Method in class collection.comparators.CityComparator
-
Compares two City objects based on their natural order using the compareTo method.
- compare(City, City) - Method in class collection.comparators.CityComparatorByMetersAboveSeaLevel
-
Compares two City objects based on their elevation in meters above sea level.
- compareTo(City) - Method in class collection.City.City
-
Method of Comparable interface
- compareTo(Coordinates) - Method in class collection.City.Coordinates
-
Compares two Coordinates objects by their x and y values
- compareTo(Human) - Method in class collection.City.Human
-
Compares two Human objects by their names
- Coordinates - Class in collection.City
-
Class representing coordinates
- Coordinates() - Constructor for class collection.City.Coordinates
- Coordinates(int, double) - Constructor for class collection.City.Coordinates
-
Constructor for creating Coordinates object
- CoordinatesCLIManager - Class in collectionManagers.modeManagers.userMode
-
A class that implements the ModeManager interface for creating Coordinate objects via command-line interface.
- CoordinatesCLIManager() - Constructor for class collectionManagers.modeManagers.userMode.CoordinatesCLIManager
- CoordinateXValidator - Class in collectionManagers.validators
-
Implementation of validator for CoordinateX
- CoordinateXValidator() - Constructor for class collectionManagers.validators.CoordinateXValidator
- CoordinateYValidator - Class in collectionManagers.validators
-
Implementation of validator for CoordinateY
- CoordinateYValidator() - Constructor for class collectionManagers.validators.CoordinateYValidator
- CSVManager - Class in collectionManagers
-
The CSVManager class provides methods for working with files in .csv format.
- CSVManager() - Constructor for class collectionManagers.CSVManager
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form