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