Examples of Sort

@author Robert "kebernet" Cooper
  • org.slim3.datastore.Sort
    The collection of constants of class. @author taedium @since 1.0.0
  • org.springframework.data.domain.Sort
    Sort option for queries. You have to provide at least a list of properties to sort for that must not include {@literal null} or empty strings. The direction defaults to {@link Sort#DEFAULT_DIRECTION}. @author Oliver Gierke @author Thomas Darimont
  • org.synyx.hades.domain.Sort
  • prefuse.data.util.Sort
    rg">jeffrey heer
  • wycs.solver.smt.Sort
    A sort is the term for a type in the SMT domain. This class provides a few default sorts as well as the ability to create generic sorts, such as {@link wycs.solver.smt.Sort.Set}s or {@link wycs.solver.smt.Sort.Tuple}s. In order to utilise these generic sorts, it is required that the initialisers (from {@link #generateInitialisers(Solver)} be added to the surrounding {@link wycs.solver.smt.Block} or {@link wycs.solver.smt.Smt2File}.

    This design pattern is required as it is not possible to easily write custom theorems to add to SMT solvers. @author Henry J. Wylde


  • Examples of com.badlogic.gdx.utils.Sort

            throw new GdxRuntimeException("Error reading pack file: " + packFile, ex);
          } finally {
            StreamUtils.closeQuietly(reader);
          }

          new Sort().sort((Object[])regions.items, (Comparator)indexComparator, 0, regions.size);
        }
    View Full Code Here

    Examples of com.caucho.xsl.Sort

        if (_caseOrder == null)
          caseOrder = null;
         
        boolean isText = ! "number".equals(_dataType);

        Sort sort;
       
        if (_lang == null) {
          sort = Sort.create(expr, isAscending, isText);
        }
        else {
          String lang = _lang;
         
          if (lang.startsWith("{") && lang.endsWith("}"))
            lang = lang.substring(1, lang.length() - 1);
          else
            lang = "'" + lang + "'";

          sort = Sort.create(expr, isAscending, parseExpr(lang));
        }

        sort.setCaseOrder(caseOrder);

        return sort;
      }
    View Full Code Here

    Examples of com.liferay.portal.kernel.search.Sort

        try {
          LinkedHashMap<String, Object> params = new LinkedHashMap<String, Object>();
          params.put("expandoAttributes", null);

          Sort sort = SortFactoryUtil.getSort(User.class, DEFAULT_SORT_CRITERIA, "asc");

          boolean andSearch = true;
          int status = WorkflowConstants.STATUS_ANY;

          String firstName = null;
    View Full Code Here

    Examples of com.onpositive.commons.ui.tableeditor.Sort

                .startsWith("com.google.appengine.api.datastore.DatastoreNeedIndexException")) {
              // let's attempt to remove sorting first
              if (query.sort != null && query.sort.property != null
                  && query.sort.property.length() > 0) {
                callback.removeSort();
                query.sort = new Sort("", false);
                Thread thread = new Thread() {
                  public void run() {
                    query(query, callback);
                  }
                };
    View Full Code Here

    Examples of loxia.dao.Sort

        user.setLoginName("user");
        user.setPassword("loxia");
        user.setUserName("Loxia User");
        userDao.save(user);
        System.out.println("==============================4");
        List<InnerUser> users = userDao.findUsers(new Sort[]{new Sort("u.userName")});   
        u = userDao.findUserByLoginName("user");
        Pagination<InnerUser> p = userDao.findByLoginNameP(0, 20, "user");
        System.out.println(p.getCount());
        System.out.println(users.size());
        System.out.println(u.getUserName());
        List<InnerUser> anoUsers = userDao.findUserByName(0, 20, "U", new Sort[]{new Sort("u.userName")});
        System.out.println(anoUsers.size());
        System.out.println(userDao.findByLoginName(0, 20, null).size());
        System.out.println(userDao.findByLoginName(0, 20, "a").size());
        userDao.findByLoginNameSql(0, 20, "u", null, null);
        userDao.findByLoginNameSql(0, 20, "u", null, "w")
    View Full Code Here

    Examples of lupos.engine.operators.singleinput.sort.Sort

      public void insertFederatedQueryOperator(final ASTService node, final OperatorConnection connection){
        SeveralSucceedingOperators sso = new SeveralSucceedingOperators();
        BasicOperator federatedQuery = this.getFederatedQuery(node);
        Node child0 = node.jjtGetChild(0);
        if(child0 instanceof ASTVar){
          Sort sort = new Sort();
          LinkedList<Variable> listOfVars = new LinkedList<Variable>();
          listOfVars.add(new Variable(((ASTVar)child0).getName()));
          ComparatorVariables comparator = new ComparatorVariables(listOfVars);
          sort.setComparator(comparator);
          Group group = new Group(comparator);
          sort.addSucceedingOperator(group);
          group.addSucceedingOperator(federatedQuery);
          sso.addSucceedingOperator(sort);
        } else {
          sso.addSucceedingOperator(federatedQuery);
        }
    View Full Code Here

    Examples of org.afekete.moviedatabasecreator.report.Sorter.Sort

          }
      }
       
      public static void exportToFile(List<MovieInfo> result, String fileName) throws JRException, IOException, InterruptedException {
        HashMap<String, Object> params = new HashMap<String, Object>();
        Sort s = getSortType();
        if (s != null) params.put("sorted", ResourceManager.getResourceValue(s.designation()));
        params.put("moviesNum", result.size());
        result = Sorter.sort(result, s);
        List<HashMap<String, Object>> data = new ArrayList<HashMap<String, Object>>();
        for (int i = 0; i < result.size(); i++) {
          MovieInfo info = result.get(i);
    View Full Code Here

    Examples of org.apache.beehive.netui.databinding.datagrid.api.sort.Sort

            /* implement sorting */
            final List<Sort> sorts = (List<Sort>)dataGridState.getSortModel().getSorts();
            if(sorts != null && sorts.size() < 2) {

                Sort sort = (Sort)sorts.get(0);
                SortByProperty sorter = new SortByProperty();
                dataSet = sorter.sort(sort, _customers);
            }

            /* implement filtering */
     
    View Full Code Here

    Examples of org.apache.derby.iapi.store.access.conglomerate.Sort

                {
                    // Loop from the end since the call to drop() will remove the
                    // element from the list.
                    for (int i = sorts.size() - 1; i >= 0; i--)
                    {
                        Sort sort = (Sort) sorts.get(i);
                        if (sort != null)
                            sort.drop(this);
                    }
                    sorts.clear();
                    freeSortIds.clear();
                }
        }
    View Full Code Here

    Examples of org.apache.derby.iapi.store.access.conglomerate.Sort

                if (sorts != null)
                {
                    for (int i = 0; i < sorts.size(); i++)
                    {
                        Sort sort = (Sort) sorts.get(i);

                        if (sort != null)
                        {
                            str +=
                                "sorts created by createSort() in current xact:" +
    View Full Code Here
    TOP
    Copyright © 2018 www.massapi.com. All rights reserved.
    All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.