private void verifyList(
     Collection<String> expected, ListValueModel<String> actual, Comparator<String> comparator) {
   Collection<String> sortedSet = new TreeSet<String>(comparator);
   sortedSet.addAll(expected);
   List<String> expectedList = new ArrayList<String>(sortedSet);
   List<String> actualList = ListTools.list(actual.iterator());
   assertEquals(expectedList, actualList);
 }
 protected int getSpecifiedAttributeInsertionIndex(OrmSpecifiedPersistentAttribute attribute) {
   return ListTools.insertionIndexOf(
       this.specifiedAttributes, attribute, this.getAttributeComparator());
 }
 @Override
 public String toString() {
   return ListTools.list(this).toString();
 }