Translating array into vector in C++; supporting only List/ArrayList/list for Collect...
[iot2.git] / config / iotpolicy / lightbulbpolicy.pol
index 900089c3fa96d51077c4b336941da3888320bcf2..3d0ea7476f94b8de4e6047bcd93a48f657b8ba0b 100644 (file)
@@ -3,21 +3,21 @@ public interface LightBulb {
     public void MethodA(int A, float B);
     public void MethodA(int A, float B, int AB);
     public int MethodB(String C, String D);
-    public byte MethodC(String E, Map<String,Integer> F);
+    public byte MethodC(String E, List<Integer> F);
 
        capability Flicker {
                description = "The quick brown fox jumps over the smart dog";
                description = "Another description";
                method = "MethodA(int A, float B)";
                method = "MethodB(String C, String D)";
-               method = "MethodC(String E, Map<String,Integer> F)";
+               method = "MethodC(String E, List<Integer> F)";
        }
 
        capability AutoOnOff {
                description = "The quick brown fox jumps over the cool dog";
                method = "MethodA(int A, float B)";
                method = "MethodA(int A, float B, int AB)";
-               method = "MethodC(String E, Map<String,Integer> F)";
+               method = "MethodC(String E, List<Integer> F)";
        }
 }