public class RegionOptimizedVectorSorter
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
sort(boolean parallel,
java.util.List<BlockVector3> vectors)
For test purposes, or if you want to finely control when parallelism occurs.
|
static void |
sort(java.util.List<BlockVector3> vectors) |
public static void sort(java.util.List<BlockVector3> vectors)
public static void sort(boolean parallel, java.util.List<BlockVector3> vectors)
vectors
must be mutable, and will be sorted after this method returns.
parallel
- true
to sort in parallelvectors
- the vectors to sort