|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Closure interface represents an arbitrary operation on a given object.
Method Summary | |
void |
function(java.lang.Object aObj)
Executes the implemented operation on a given element. |
Method Detail |
public void function(java.lang.Object aObj)
The implementing classes have to ensure two things:
ClassCastException
is thrown, if they can't operate
on the given object
null
as value
aObj
- a Object
representing
the object on which the implemented operation should
be executed.
java.lang.ClassCastException
- if the implementing
class can't operate on the given object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |