public class TopNSorter<T> extends Object
Constructor and Description |
---|
TopNSorter(com.google.common.collect.Ordering<T> ordering)
Constructs a sorter that will sort items with given ordering.
|
public TopNSorter(com.google.common.collect.Ordering<T> ordering)
ordering
- the order that this sorter instance will use for sortingCopyright © 2011–2015. All rights reserved.