com.limegroup.gnutella.util
Interface Function


public interface Function

A one argument function.


Method Summary
 java.lang.Object apply(java.lang.Object argument)
          Applies this function to argument, returning the result.
 

Method Detail

apply

public java.lang.Object apply(java.lang.Object argument)
                       throws java.lang.ClassCastException,
                              java.lang.IllegalArgumentException
Applies this function to argument, returning the result.

Throws:
java.lang.ClassCastException - the argument is of wrong type
java.lang.IllegalArgumentException - the argument is of right type but violates some other precondition.