net.sf.jga.fn.adaptor
public class Project2nd<T1,T2> extends AbstractBinaryFunctor<T1,T2,T2> implements Serializable
Copyright © 2002 David A. Hall
Nested Class Summary | |
---|---|
interface | Project2nd.Visitor
Interface for classes that may interpret an Project2nd functor. |
Method Summary | |
---|---|
void | accept(Visitor v)
Calls the Visitor's visit(Project2nd) method, if it
implements the nested Visitor interface. |
T2 | fn(T1 unused, T2 y)
Given two arguments, returns the second. |
String | toString() |
visit(Project2nd)
method, if it
implements the nested Visitor interface.Returns: x