Method Wrap
Wrap(AtomicReader, Sort)
Return a sorted view of reader
according to the order
defined by sort
. If the reader is already sorted, this
method might return the reader as-is.
Declaration
public static AtomicReader Wrap(AtomicReader reader, Sort sort)
Parameters
Type | Name | Description |
---|---|---|
AtomicReader | reader | |
Sort | sort |
Returns
Type | Description |
---|---|
AtomicReader |