public List<Contact> find(){
  List<Long> ids=new ArrayList<>();
  if (innerQueries != null) {
    for (    Query query : innerQueries) {
      ids.addAll(query.findInner());
    }
  }
 else {
    if (mimeWhere.isEmpty()) {
      return find(null);
    }
    for (    Map.Entry<String,Where> entry : mimeWhere.entrySet()) {
      ids=findIds(ids,entry.getKey(),entry.getValue());
    }
  }
  return find(ids);
}

public List < Contact > find ( ) { List < Long > ids = new ArrayList < > ( ) ; if ( innerQueries != null ) { for ( Query query : innerQueries ) { ids . addAll ( query . findInner ( ) ) ; } } else { if ( mimeWhere . isEmpty ( ) ) { return find ( null ) ; } for ( Map . Entry < String , Where > entry : mimeWhere . entrySet ( ) ) { ids = findIds ( ids , entry . getKey ( ) , entry . getValue ( ) ) ; } } return find ( ids ) ; }
retrieves a list of contacts that satisfy this query .
