コード例 #1
0
 private List<Object> buildBboxWhereParameters(List<Selector.Polygon> bboxSelectors) {
   List<Object> obj = new LinkedList<Object>();
   for (Selector selector : bboxSelectors) {
     obj.addAll(selector.getWhereParam());
   }
   return obj;
 }
コード例 #2
0
 private List<Object> buildSelectorWhereParameters(List<? extends Selector> tagSelectors) {
   List<Object> obj = new LinkedList<Object>();
   for (Selector selector : tagSelectors) {
     obj.addAll(selector.getWhereParam());
   }
   return obj;
 }
コード例 #3
0
  @Override
  public List<Object> getWhereParam() {
    List<Object> ret = new LinkedList<Object>();

    for (Selector selector : selectors) {
      ret.addAll(selector.getWhereParam());
    }

    return ret;
  }
コード例 #4
0
  private List<Object> buildTagSelectorWhereParameters(List<? extends Selector> tagSelectors) {
    List<Object> obj = new LinkedList<Object>();
    for (Selector selector : tagSelectors) {
      if (selector instanceof Selector.Polygon) {

      } else {
        obj.addAll(selector.getWhereParam());
      }
    }
    return obj;
  }