org.openstreetmap.josm.tools
Interface Utils.Function<A,B>

Type Parameters:
A - class of input objects
B - class of transformed objects
Enclosing class:
Utils

public static interface Utils.Function<A,B>

Represents a function that can be applied to objects of A and returns objects of B.


Method Summary
 B apply(A x)
          Applies the function on x.
 

Method Detail

apply

B apply(A x)
Applies the function on x.

Parameters:
x - an object of
Returns:
the transformed object


JOSM