class ValueResult extends SearchResult {
	private final Object value;

	/**
	 * Constructs a value result.
	 *
	 * @param value
	 * 		Matched value.
	 */
	public ValueResult(Object value) {
		this.value = value;
	}

	/**
	 * @return Matched value.
	 */
	public Object getValue() {
		return value;
	}

	@Override
	@SuppressWarnings("unchecked")
	public int compareTo(SearchResult other) {<FILL_FUNCTION_BODY>}
}

		int ret = super.compareTo(other);
		if (ret == 0) {
			if (other instanceof ValueResult) {
				ValueResult otherResult = (ValueResult) other;
				if (value instanceof Comparable && otherResult.value instanceof Comparable) {
					Comparable compValue = (Comparable) value;
					Comparable compOtherValue = (Comparable) otherResult.value;
					return compValue.compareTo(compOtherValue);
				}
			}
		}
		return ret;
	
<methods>public non-sealed void <init>() ,public int compareTo(me.coley.recaf.search.SearchResult) ,public Context<?> getContext() ,public boolean isContextSimilar(me.coley.recaf.search.SearchResult) ,public void setContext(Context<?>) ,public java.lang.String toString() <variables>private Context<?> context