org.op4j.operators.qualities
Interface CastableToMapOperator

All Known Subinterfaces:
ILevel0BuildingMapOperator<I,K,V>, ILevel0MapOperator<I,K,V>
All Known Implementing Classes:
Level0BuildingMapOperator, Level0MapOperator, Level0MapOperator

public interface CastableToMapOperator

This interface contains methods for casts to map (Map).

Since:
1.0
Author:
Daniel Fernández

Method Summary
<K,V> Operator
castToMapOf(org.javaruntype.type.Type<K> keyType, org.javaruntype.type.Type<V> valueType)
           Casts the operator's target as a map of the specified types.
<K,V> Operator
of(org.javaruntype.type.Type<K> keyType, org.javaruntype.type.Type<V> valueType)
           Casts the operator's target as a map of the specified types.
 

Method Detail

of

<K,V> Operator of(org.javaruntype.type.Type<K> keyType,
                  org.javaruntype.type.Type<V> valueType)

Casts the operator's target as a map of the specified types.

Type Parameters:
K - the type for the map's keys
V - the type for the map's values
Parameters:
keyType - the type for the map's keys
valueType - the type for the map's values
Returns:
the resulting map

castToMapOf

<K,V> Operator castToMapOf(org.javaruntype.type.Type<K> keyType,
                           org.javaruntype.type.Type<V> valueType)

Casts the operator's target as a map of the specified types.

Type Parameters:
K - the type for the map's keys
V - the type for the map's values
Parameters:
keyType - the type for the map's keys
valueType - the type for the map's values
Returns:
the resulting map


Copyright © 2012 The OP4J team. All Rights Reserved.