code: @SuppressWarnings("unchecked")
  public int compareTo(Object object)
     {
        if(!(object instanceof Subject))
           return -1;
        
        Subject<T> subject = (Subject<T>)object;
        
        return this.name.compareTo(subject.getName());
     }
docs: --------------------------------------------