コード例 #1
0
 public Object parse(String val) {
   Map<String, Object> result =
       platform.pdp().applyInterpreters(ImmutableMap.of("dummyKey", val));
   checkState(
       result.keySet().equals(ImmutableSet.of("dummyKey")),
       "expected single result, but got %s",
       result);
   return result.get("dummyKey");
 }
コード例 #2
0
 public Map<String, Object> parse(Map<String, Object> map) {
   return platform.pdp().applyInterpreters(map);
 }