/** * After the barcode has been updated in response to a change in the * grouping {@link Comparator}, this method is used to rebuild the tree of * GroupLists which map those GroupLists to their overall indices. */ private void rebuildGroupListTreeFromBarcode() { // clear the contents of the GroupList tree groupLists.clear(); // fetch our GrouperClient final GrouperClient grouperClient = (GrouperClient) grouper.getClient(); // build the tree of GroupLists from the barcode for (int i = 0, n = grouper.getBarcode().colourSize(Grouper.UNIQUE); i < n; i++) { grouperClient.insertGroupList(i); } }
/** * After the barcode has been updated in response to a change in the * grouping {@link Comparator}, this method is used to rebuild the tree of * GroupLists which map those GroupLists to their overall indices. */ private void rebuildGroupListTreeFromBarcode() { // clear the contents of the GroupList tree groupLists.clear(); // fetch our GrouperClient final GrouperClient grouperClient = (GrouperClient) grouper.getClient(); // build the tree of GroupLists from the barcode for (int i = 0, n = grouper.getBarcode().colourSize(Grouper.UNIQUE); i < n; i++) { grouperClient.insertGroupList(i); } }
/** * After the barcode has been updated in response to a change in the * grouping {@link Comparator}, this method is used to rebuild the tree of * GroupLists which map those GroupLists to their overall indices. */ private void rebuildGroupListTreeFromBarcode() { // clear the contents of the GroupList tree groupLists.clear(); // fetch our GrouperClient final GrouperClient grouperClient = (GrouperClient) grouper.getClient(); // build the tree of GroupLists from the barcode for (int i = 0, n = grouper.getBarcode().colourSize(Grouper.UNIQUE); i < n; i++) { grouperClient.insertGroupList(i); } }