net.sf.eos.util.functions
Class Fahrenheit2Celsius
java.lang.Object
net.sf.eos.util.functions.Fahrenheit2Celsius
- All Implemented Interfaces:
- Function<Float,Float>
public class Fahrenheit2Celsius
- extends Object
- implements Function<Float,Float>
Method Summary |
Float |
apply(Float from)
Applies the function to an object of type F , resulting in an object
of type T . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Fahrenheit2Celsius
public Fahrenheit2Celsius()
apply
public Float apply(Float from)
- Description copied from interface:
Function
- Applies the function to an object of type
F
, resulting in an object
of type T
. Note that types F
and T
may or may not
be the same.
- Specified by:
apply
in interface Function<Float,Float>
- Parameters:
from
- The source object.
- Returns:
- The resulting object.
Copyright © 2008. All Rights Reserved.