KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > uk > co > jezuk > mango > Functions


1 package uk.co.jezuk.mango;
2
3 /**
4  * The Mango Library Unary and Binary Functions
5  *
6  * @author Jez Higgins, jez@jezuk.co.uk
7  * @version $Id$
8  */

9 public class Functions
10 {
11     ////////////////////////////////////////////////////
12
// Unary Functions
13
/**
14      * The identity function. Takes a single argument, and returns it unchanged.
15      */

16     static public UnaryFunction Identity() { return new uk.co.jezuk.mango.unaryfunctions.Identity(); }
17 } // class Functions
18
Popular Tags