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