import java.util.Objects;

public class Function
{
    public Function (String command, int numberOfCommands)
    {
        _command = command;
        _numberOfCommands = numberOfCommands;
    }

    public String getCommand ()
    {
        return _command;
    }

    public int numberOfCommands ()
    {
        return _numberOfCommands;
    }

    @Override
    public String toString ()
    {
        return "Command: "+_command;
    }

    @Override
    public int hashCode ()
    {
        return Objects.hash(_command, _numberOfCommands);
    }

    @Override
    public boolean equals (Object obj)
    {
        if (obj == null)
            return false;

        if (this == obj)
            return true;
        
        if (getClass() == obj.getClass())
        {
            Function temp = (Function) obj;

            return (_command.equals(temp._command));
        }

        return false;
    }

    private String _command;
    private int _numberOfCommands;
}
@@ -252,32 +252,138 @@
 command;%0A    %7D%0A%0A
+    public int getLength ()%0A    %7B%0A        return ((_command == null) ? 0 : _command.length());%0A    %7D%0A    %0A
     public int n
@@ -517,20 +517,8 @@
 urn 
-%22Command: %22+
 _com

Update Function.java