Examples of sort()


Examples of com.dci.intellij.dbn.data.model.sortable.SortableDataModel.sort()

    public boolean sort(int columnIndex, SortDirection sortDirection, boolean keepExisting) {
        SortableDataModel model = getModel();
        int modelColumnIndex = convertColumnIndexToModel(columnIndex);
        ColumnInfo columnInfo = getModel().getColumnInfo(modelColumnIndex);
        if (columnInfo.isSortable()) {
            boolean sorted = model.sort(modelColumnIndex, sortDirection, keepExisting);
            if (sorted) getTableHeader().repaint();
            return sorted;
        }
        return false;
    }
View Full Code Here

Examples of com.dci.intellij.dbn.editor.data.ui.table.DatasetEditorTable.sort()

        public void actionPerformed(AnActionEvent e) {
            DatasetEditorTable editorTable = datasetEditor.getEditorTable();
            int modelColumnIndex = columnInfo.getColumnIndex();
            if (editorTable != null) {
                int tableColumnIndex = editorTable.convertColumnIndexToView(modelColumnIndex);
                editorTable.sort(tableColumnIndex, SortDirection.ASCENDING, false);
            }
        }
    }

    private class SortDescendingAction extends DumbAwareAction {
View Full Code Here

Examples of com.elevenware.redcorn.DependencyInstantiationOrdering.sort()

    }

    private void hydrateNewBeans() {

        DependencyInstantiationOrdering ordering = new DependencyInstantiationOrdering(this.registeredTypes);
        List<BeanDefinition> dependencyChain = ordering.sort();
        Visitors.constructorArgsInstantiator(this).visitAll(dependencyChain);

        for(BeanDefinition definition: context.values()) {
            if(Lifecycle.class.isAssignableFrom(definition.getType())) {
                Lifecycle lifecycle = (Lifecycle) definition.getPayload();
View Full Code Here

Examples of com.esri.gpt.catalog.schema.indexable.tp.TpIntervals.sort()

    }
    if (intervals == null) {
      intervals = new TpIntervals();
      bWasInvalid = true;
    }
    if (intervals.size() > 1) intervals.sort();

    long nNow = System.currentTimeMillis();
    long nLower = Long.MAX_VALUE;
    long nUpper = Long.MIN_VALUE;
    int nInterval = 0;
View Full Code Here

Examples of com.esri.gpt.framework.security.principal.Groups.sort()

 
  usersJson += " \"userDn\" : \"" + user.getDistinguishedName() + " \" , ";
 
  String groupsJson = " \"groups\" : [";
  Groups groups = user.getGroups();
  groups.sort();
  boolean firstGroup = true;
  for (Group group : groups.values()) {
    String gkey = Val.chkStr(group.getKey());
    String name = Val.chkStr(group.getName());
    String dn = Val.chkStr(group.getDistinguishedName());
View Full Code Here

Examples of com.esri.gpt.framework.security.principal.Users.sort()

    Role role = configuredRoles.get(attributeName);
    String sDn = role.getDistinguishedName();
    IdentityAdapter idAdapter = context.newIdentityAdapter();
    users = idAdapter.readGroupMembers(sDn);
    totalMatches = users.size();
    users.sort();
  }else{
    IdentityAdapter idAdapter = context.newIdentityAdapter();
    Users members = idAdapter.readGroupMembers(filter);
      for (User u: members.values()) {
        users.add(u);     
View Full Code Here

Examples of com.exigen.ie.constrainer.IntExpArray.sort()

      return 1;
    }
  };

  IntExpArray tmp = makeExtraction(_index, _ary);
  tmp.sort(new IntExpComparator());

  for (int i=tmp.get(0).min(); i<=tmp.get(0).max(); i++){
    if (tmp.get(0).contains(i))
    values[valCounter++] = i;
  }
View Full Code Here

Examples of com.foreach.across.core.context.ModuleBeanOrderComparator.sort()

        }
      }
    }

    List<T> beanList = new ArrayList<>( beans );
    comparator.sort( beanList );

    return beanList;
  }

  private AcrossListableBeanFactory beanFactory( ApplicationContext applicationContext ) {
View Full Code Here

Examples of com.foreach.across.modules.web.menu.Menu.sort()

    Menu menu = new Menu( "any" );
    menu.addItem( "/aaa", "ccc" );
    menu.addItem( "/bbb", "aaa" );
    menu.addItem( "/ccc", "bbb" );

    menu.sort();

    assertMenu( menu, "aaa", "bbb", "ccc" );
  }

  @Test
View Full Code Here

Examples of com.foundationdb.qp.storeadapter.Sorter.sort()

        for(int i = 0; i < fieldOrdering.length; ++i) {
            ordering.append(field(inputOperator.rowType(), i), fieldOrdering[i]);
        }

        Sorter sorter = createSorter(context, bindings, inputCursor, inputOperator.rowType(), ordering, sortOption, TEST_TAP);
        RowCursor sortedCursor = sorter.sort();

        Row[] expectedRows = createBuilder(expected).rows().toArray(new Row[expected.size()]);
        compareRows(expectedRows, sortedCursor);
    }
}
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.