Package cdc.args

Class MapFormalArg<K,​V>

  • Type Parameters:
    K - The key type.
    V - The value type.

    public class MapFormalArg<K,​V>
    extends FormalArg<Map<K,​V>>
    Formal argument for maps.
    Author:
    Damien Carbonne
    • Constructor Detail

      • MapFormalArg

        public MapFormalArg​(String name,
                            Class<K> keyType,
                            Class<V> valueType,
                            Necessity necessity)
        Creates a map formal argument.
        Parameters:
        name - The argument name.
        keyType - The key type.
        valueType - The value type.
        necessity - The argument necessity.
      • MapFormalArg

        public MapFormalArg​(String name,
                            Class<K> keyType,
                            Class<V> valueType)
        Creates a MANDATORY map formal argument.
        Parameters:
        name - The argument name.
        keyType - The key type.
        valueType - The value type.