test_class.file: samples/dianping-java-samples/src/test/java/com/dianping/open/samples/deal/DemoDealAPITest.java
test_class.identifier: DemoDealAPITest
test_case.body: @Test
      public void test()
      {
          String appKey = "XXXXXXXX";
          String secret = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
          try
          {
              Map<String, List<Map<String, Object>>> deals = DemoDealAPI.requestAllData(appKey, secret);
              System.out.println(deals.size());
              System.out.println(deals.keySet());
              System.out.println(deals.get("上海"));
          }
          catch (IOException e)
          {
          }
      }
test_case.class_method_signature: DemoDealAPITest.test()
test_case.full_signature: @Test public void test()
test_case.identifier: test
test_case.invocations: requestAllData println size println keySet println get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void test()
focal_class.declarator: JSON_MAPPER = new ObjectMapper()
focal_class.modifier: private static final
focal_class.original_string: private static final ObjectMapper JSON_MAPPER = new ObjectMapper();
focal_class.type: ObjectMapper
focal_class.var_name: JSON_MAPPER
focal_class.file: samples/dianping-java-samples/src/main/java/com/dianping/open/samples/deal/DemoDealAPI.java
focal_class.identifier: DemoDealAPI
focal_class.class_method_signature: DemoDealAPI.requestCities(String appKey, String secret)
focal_class.full_signature: public static List<String> requestCities(String appKey, String secret)
focal_class.identifier: requestCities
focal_class.modifiers: public static
focal_class.parameters: (String appKey, String secret)
focal_class.return: List<String>
focal_class.signature: List<String> requestCities(String appKey, String secret)
focal_class.class_method_signature: DemoDealAPI.requestDealData(String appKey, String secret,
                                                                               Map<String, List<String>> dealIds)
focal_class.full_signature: public static Map<String, List<Map<String, Object>>> requestDealData(String appKey, String secret,
                                                                               Map<String, List<String>> dealIds)
focal_class.identifier: requestDealData
focal_class.modifiers: public static
focal_class.parameters: (String appKey, String secret,
                                                                               Map<String, List<String>> dealIds)
focal_class.return: Map<String, List<Map<String, Object>>>
focal_class.signature: Map<String, List<Map<String, Object>>> requestDealData(String appKey, String secret,
                                                                               Map<String, List<String>> dealIds)
focal_class.class_method_signature: DemoDealAPI.requestDealIds(String appKey, String secret, List<String> dealCities)
focal_class.full_signature: public static Map<String, List<String>> requestDealIds(String appKey, String secret, List<String> dealCities)
focal_class.identifier: requestDealIds
focal_class.modifiers: public static
focal_class.parameters: (String appKey, String secret, List<String> dealCities)
focal_class.return: Map<String, List<String>>
focal_class.signature: Map<String, List<String>> requestDealIds(String appKey, String secret, List<String> dealCities)
focal_class.class_method_signature: DemoDealAPI.requestBatchDeals(String appKey, String secret,
                                                                 List<String> batchIdsList)
focal_class.full_signature: @SuppressWarnings({ "rawtypes", "unchecked" }) public static List<Map<String, Object>> requestBatchDeals(String appKey, String secret,
                                                                 List<String> batchIdsList)
focal_class.identifier: requestBatchDeals
focal_class.modifiers: @SuppressWarnings({ "rawtypes", "unchecked" }) public static
focal_class.parameters: (String appKey, String secret,
                                                                 List<String> batchIdsList)
focal_class.return: List<Map<String, Object>>
focal_class.signature: List<Map<String, Object>> requestBatchDeals(String appKey, String secret,
                                                                 List<String> batchIdsList)
focal_class.class_method_signature: DemoDealAPI.requestAllData(String appKey, String secret)
focal_class.full_signature: public static Map<String, List<Map<String, Object>>> requestAllData(String appKey, String secret)
focal_class.identifier: requestAllData
focal_class.modifiers: public static
focal_class.parameters: (String appKey, String secret)
focal_class.return: Map<String, List<Map<String, Object>>>
focal_class.signature: Map<String, List<Map<String, Object>>> requestAllData(String appKey, String secret)
focal_class.class_method_signature: DemoDealAPI.sleepAWhile()
focal_class.full_signature: private static void sleepAWhile()
focal_class.identifier: sleepAWhile
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void sleepAWhile()
focal_class.class_method_signature: DemoDealAPI.splitList(List<T> list, int pageSize)
focal_class.full_signature: public static List<List<T>> splitList(List<T> list, int pageSize)
focal_class.identifier: splitList
focal_class.modifiers: public static
focal_class.parameters: (List<T> list, int pageSize)
focal_class.return: List<List<T>>
focal_class.signature: List<List<T>> splitList(List<T> list, int pageSize)
focal_method.body: public static Map<String, List<Map<String, Object>>> requestAllData(String appKey, String secret) throws IOException
      {
          List<String> dealCities = requestCities(appKey, secret);
          Map<String, List<String>> dealIds = requestDealIds(appKey, secret, dealCities);
          Map<String, List<Map<String, Object>>> dealDatas = requestDealData(appKey, secret, dealIds);
          return dealDatas;
      }
focal_method.class_method_signature: DemoDealAPI.requestAllData(String appKey, String secret)
focal_method.full_signature: public static Map<String, List<Map<String, Object>>> requestAllData(String appKey, String secret)
focal_method.identifier: requestAllData
focal_method.invocations: requestCities requestDealIds requestDealData
focal_method.modifiers: public static
focal_method.parameters: (String appKey, String secret)
focal_method.return: Map<String, List<Map<String, Object>>>
focal_method.signature: Map<String, List<Map<String, Object>>> requestAllData(String appKey, String secret)