@@ -0,0 +1,1040 @@
+package tars.commons.flags;%0A%0A/**%0A * Container for user input prefixes.%0A */%0Apublic class Flag %7B%0A%0A    public static final int LENGTH_TWO = 2;%0A    public static final int LENGTH_THREE = 3;%0A    %0A    public static final String NAME = %22-n%22;%0A    public static final String PRIORITY = %22-p%22;%0A    public static final String DATETIME = %22-dt%22;%0A    public static final String TAG = %22-t%22;%0A    public static final String ADDTAG = %22-ta%22;%0A    public static final String REMOVETAG = %22-tr%22;%0A        %0A    public String prefix;%0A    public boolean hasMultiple;%0A    %0A    public Flag(String prefix, boolean hasMultiple) %7B%0A        this.prefix = prefix;%0A        this.hasMultiple = hasMultiple;%0A    %7D%0A    %0A    @Override%0A    public boolean equals(Object other) %7B%0A        return other == this // short circuit if same object%0A                %7C%7C (other instanceof Flag // instanceof handles nulls%0A                && this.prefix.equals(((Flag) other).prefix)); // state check%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        return prefix.hashCode();%0A    %7D%0A    %0A%7D%0A

Change prefix to flag