@@ -0,0 +1,980 @@
+import java.util.Objects;%0A%0Apublic class Function%0A%7B%0A    public Function (String command, int numberOfCommands)%0A    %7B%0A        _command = command;%0A        _numberOfCommands = numberOfCommands;%0A    %7D%0A%0A    public String getCommand ()%0A    %7B%0A        return _command;%0A    %7D%0A%0A    public int numberOfCommands ()%0A    %7B%0A        return _numberOfCommands;%0A    %7D%0A%0A    @Override%0A    public String toString ()%0A    %7B%0A        return %22Command: %22+_command;%0A    %7D%0A%0A    @Override%0A    public int hashCode ()%0A    %7B%0A        return Objects.hash(_command, _numberOfCommands);%0A    %7D%0A%0A    @Override%0A    public boolean equals (Object obj)%0A    %7B%0A        if (obj == null)%0A            return false;%0A%0A        if (this == obj)%0A            return true;%0A        %0A        if (getClass() == obj.getClass())%0A        %7B%0A            Function temp = (Function) obj;%0A%0A            return (_command.equals(temp._command));%0A        %7D%0A%0A        return false;%0A    %7D%0A%0A    private String _command;%0A    private int _numberOfCommands;%0A%7D

Create Function.java