private String[] reverseFieldPath(List<String> path) { final String[] reversedPath = new String[path.size()]; for (int i = 0; i < reversedPath.length; i++) { reversedPath[i] = path.get(path.size() - i - 1); } return reversedPath; }
private IntComparator newSodaQueryComparator() { return new SodaQueryComparator( (LocalObjectContainer) this.transaction().container(), extentType(), _orderings.toArray(new SodaQueryComparator.Ordering[_orderings.size()])); }