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 org.springframework.data.domain.Sort

       * (non-Javadoc)
       * @see javax.xml.bind.annotation.adapters.XmlAdapter#unmarshal(java.lang.Object)
       */
      @Override
      public Sort unmarshal(SortDto source) {
        return source == null ? null : new Sort(SpringDataJaxb.unmarshal(source.orders, OrderAdapter.INSTANCE));
      }
    View Full Code Here

    Examples of org.springframework.data.domain.Sort

        // Limit lower bound
        pageSize = pageSize < 1 ? defaultOrFallback.getPageSize() : pageSize;
        // Limit upper bound
        pageSize = pageSize > maxPageSize ? maxPageSize : pageSize;

        Sort sort = sortResolver.resolveArgument(methodParameter, mavContainer, webRequest, binderFactory);
        return new PageRequest(page, pageSize, sort == null ? defaultOrFallback.getSort() : sort);
      }
    View Full Code Here

    Examples of org.springframework.data.domain.Sort

          return new PageRequest(v.page, v.size);
        }

        SortDto sortDto = new SortDto();
        sortDto.orders = v.orders;
        Sort sort = SortAdapter.INSTANCE.unmarshal(sortDto);

        return new PageRequest(v.page, v.size, sort);
      }
    View Full Code Here

    Examples of org.synyx.hades.domain.Sort

      public List<E> load(int first, int pageSize, String sortField,
          boolean sortOrder, Map<String, String> filters) {
        if (logger.isDebugEnabled())
          logger.debug(String.format("Loading %d rows from %d. row",
              pageSize, first));
        Sort sort = createSort(sortField, sortOrder);
        int pageNumber = first / pageSize;
        PageInfo pageInfo = new PageInfo(pageNumber, pageSize, first, sort);

        Page<E> page = entityDao.readAll(pageInfo);
        setPageSize(pageSize);
    View Full Code Here

    Examples of prefuse.data.util.Sort

          String columnName = columnNames[ii];
          if (t.getColumn(columnName) == null) {
            System.out.println("WTF, cannot find column " + columnName);
          }
        }
        Sort tSort = new Sort(columnNames);
        Table sortedTable = t.select(ExpressionParser.predicate("TRUE"),
            tSort);
        return sortedTable;
      }
    View Full Code Here

    Examples of wycs.solver.smt.Sort

            return var;
        }

        private String translate(SemanticType type) {
            Sort sort = getSort(type);

            // Generate some initialisation statements for the sort and relevant functions
            block.append(sort.generateInitialisers());

            return sort.toString();
        }
    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.