class GitTagEntry extends TagEntry {

    private final String hash;

    GitTagEntry(String hash, Date date, String tags) {
        super(date, tags);
        this.hash = hash;
    }

    /**
     * Gets the immutable, initialized Git hash value.
     */
    String getHash() {
        return hash;
    }

    @Override
    public int compareTo(HistoryEntry that) {<FILL_FUNCTION_BODY>}
}

        assert this.date != null : "Git TagEntry created without date specified";
        return this.date.compareTo(that.getDate());
    
<methods>public int compareTo(org.opengrok.indexer.history.TagEntry) ,public abstract int compareTo(org.opengrok.indexer.history.HistoryEntry) ,public boolean equals(java.lang.Object) ,public java.util.Date getDate() ,public java.lang.String getTags() ,public int hashCode() ,public void setTags(java.lang.String) <variables>private static final java.lang.String DATE_NULL_ASSERT,protected static final int NOREV,protected final non-sealed java.util.Date date,protected final non-sealed int revision,protected java.lang.String tags