| net.sf.jga.fn.property.Cast
Cast | public class Cast extends UnaryFunctor (Code) | | UnaryFunctor that returns its argument, cast to the given type. Executing
the functor will throw ClassCastExceptions if the argument cannot be cast
to the given type.
Copyright © 2004-2005 David A. Hall
author: David A. Hall |
Constructor Summary | |
public | Cast(Class<R> cl) Builds a Cast fuctor that returns values cast to the given type. |
serialVersionUID | final static long serialVersionUID(Code) | | |
Cast | public Cast(Class<R> cl)(Code) | | Builds a Cast fuctor that returns values cast to the given type.
throws: IllegalArgumentException - if the method name is null or empty, orif the argument type array is null. |
accept | public void accept(net.sf.jga.fn.Visitor v)(Code) | | Calls the Visitor's visit(InstanceOf) method, if it
implements the nested Visitor interface.
|
|
|