org.infinispan.util
Interface InfinispanCollections.MapMakerFunction<K,V,E>

Type Parameters:
K - generated key
V - generated value
E - entry input
Enclosing class:
InfinispanCollections

public static interface InfinispanCollections.MapMakerFunction<K,V,E>

A function that converts an entry into a key/value pair for use in a map.


Method Summary
 Map.Entry<K,V> transform(E input)
          Transforms the given input into a key/value pair for use in a map
 

Method Detail

transform

Map.Entry<K,V> transform(E input)
Transforms the given input into a key/value pair for use in a map

Parameters:
input - instance of the input type
Returns:
a Map.Entry parameterized with K and V

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.