I have a problem in my coursework, which can be illustrated here:
http://www.thebigman.co.uk/james/prob.JPG
What I want to do is to call Programmer.assignMentor() from within SoftwareHouse.assignMentor, I know I'm unable to do this, because I am iterating through a collection of "Employable" objects, but I don't want to define a prototype for "assignMentor" within the Employable Interface, because this method is a particular specialisation.
Any ideas on how I could overcome this issue? I'm using Java 5.0
Many shoes,
Jamez/SiliconFuRy
EDIT: I'm aware that SoftwareHouse.assignMentor assigns a mentor to itself, I'll sort this minor inconsitency once I'm able to called Programmer.assignMentor() (the parameter for this call should be the "mentee" passed to to the SoftwareHouse.assignMentor method).