/**
*
* 序號 年份 地區 GDP
* 1 2011 北京 1233
* 2 2010 天津 2412
* 3 2012 上海 1939
* 4 2009 深圳 1389
* 5 2013 重慶 1492
* */
Table aTable = HashBasedTable.create();
aTable.put("1", "id", "1");
aTable.put("1", "年份", "2011");
aTable.put("1", "地區", "北京");
aTable.put("1", "GDP", "1233");
aTable.put("2", "id", "2");
aTable.put("2", "年份", "2010");
aTable.put("2", "地區", "天津");
aTable.put("2", "GDP", "2412");
aTable.put("3", "id", "3");
aTable.put("3", "年份", "2012");
aTable.put("3", "地區", "上海");
aTable.put("3", "GDP", "1939");
aTable.put("4", "id", "4");
aTable.put("4", "年份", "2009");
aTable.put("4", "地區", "深圳");
aTable.put("4", "GDP", "1389");
aTable.put("5", "id", "5");
aTable.put("5", "年份", "2013");
aTable.put("5", "地區", "重慶");
aTable.put("5", "GDP", "1492");
List> li = filter(
having(on(Map.class).get("年份"),isIn(Arrays.asList("2009","2011")))
.and(having(on(Map.class).get("地區"),isIn(Arrays.asList("深圳"))))
,aTable.rowMap().values());
System.out.println(li);