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