Package commandManager.commands
Class MinByCreationDateCommand
java.lang.Object
commandManager.commands.MinByCreationDateCommand
- All Implemented Interfaces:
BaseCommand
Returns element from collection with min creation date.
- Since:
- 1.0
-
Constructor Details
-
MinByCreationDateCommand
public MinByCreationDateCommand()
-
-
Method Details
-
getName
Description copied from interface:BaseCommand
Base method for show command name- Specified by:
getName
in interfaceBaseCommand
- Returns:
- command name
-
getDescr
Description copied from interface:BaseCommand
Base method for show command description.- Specified by:
getDescr
in interfaceBaseCommand
- Returns:
- command description
-
execute
Description copied from interface:BaseCommand
Base method for command executing.- Specified by:
execute
in interfaceBaseCommand
- Parameters:
args
- full array of entered line.
-
getResponse
Description copied from interface:BaseCommand
Base method for get command Output- Specified by:
getResponse
in interfaceBaseCommand
- Returns:
- Full command output
-