コード例 #1
0
 /** @return this ordering in a list */
 public ChainableOrderings array() {
   ChainableOrderings sortOrderings = new ChainableOrderings();
   sortOrderings.add(this);
   return sortOrderings;
 }
コード例 #2
0
 /** Adds an ordering after this one. */
 public ChainableOrderings then(Ordering nextSortOrdering) {
   ChainableOrderings sortOrderings = array();
   sortOrderings.add(nextSortOrdering);
   return sortOrderings;
 }