More comparable issues

I'm trying to cast this ListNode into an Employee class so that I can access the lastName in that class....not sure what I'm doing wrong.

public int compareTo(Object o)

{

ListNode e = (ListNode)o;

return ((Employee) info).getLastName().compareTo(e.(Employee) info).getLastName());

}

my error says: identifier expected.

[363 byte] By [verbitya] at [2007-11-27 0:20:06]
# 1
I don't know what this is supposed to do, but it's not legal:e.(Employee) info
jverda at 2007-7-11 22:12:44 > top of Java-index,Java Essentials,New To Java...
# 2
This might be what you want, but I'm not sure what you're types are.compareTo(((Employee)e.info).getLastName())
jverda at 2007-7-11 22:12:44 > top of Java-index,Java Essentials,New To Java...