compareTo Java - What is this doing? : <p>Could anyone tell me the logic behind this piece of code?</p>

<pre><code>public int compareTo(Holder o) {
    if(o == null) return -1;
    return this.value.compareTo(o.value);
}
</code></pre>
