What’s next

June 23, 2008

Java Sorting Box for dynamically invoking receptors

Filed under: Java — stigl @ 9:35 am
Tags: ,

System color is not a requirement.The system I want to create must invoke the receptor’s call(x) with the objects from the pile that correspond the receptors interface.

I have a pile of objects of the classes; PinkTriangle, GreenSylinder and RedSquare, implementing Interfaces Triangle, Square and Circle, and a set of receptors; TriangleHole, SquareHole og SircleHole, who’s call(x) functions accept Triangle, Square or Circle interfaces (or children). (more…)


Blog at WordPress.com.