org.jjoost.util
Class Functions.MapEntryValueProjection<E extends java.util.Map.Entry<?,V>,V>

java.lang.Object
  extended by org.jjoost.util.Functions.MapEntryValueProjection<E,V>
All Implemented Interfaces:
java.io.Serializable, Function<E,V>
Enclosing class:
Functions

public static final class Functions.MapEntryValueProjection<E extends java.util.Map.Entry<?,V>,V>
extends java.lang.Object
implements Function<E,V>

A function that retrieves the value portion of a Map.Entry

Author:
b.elliottsmith
See Also:
Serialized Form

Constructor Summary
Functions.MapEntryValueProjection()
           
 
Method Summary
 V apply(E v)
          Returns the result of applying the function to the parameter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Functions.MapEntryValueProjection

public Functions.MapEntryValueProjection()
Method Detail

apply

public V apply(E v)
Description copied from interface: Function
Returns the result of applying the function to the parameter

Specified by:
apply in interface Function<E extends java.util.Map.Entry<?,V>,V>
Parameters:
v - something of type domain
Returns:
the result of the function (something of type range)