public class DataPointSorter extends Object
DataPointSorter class.
Modifier and Type | Class and Description |
---|---|
static class |
DataPointSorter.SortingDirection |
static class |
DataPointSorter.SortingProperty |
Constructor and Description |
---|
DataPointSorter() |
Modifier and Type | Method and Description |
---|---|
static void |
sortDataPoints(double[] mzBuffer,
float[] intensityBuffer,
int size,
DataPointSorter.SortingProperty prop,
DataPointSorter.SortingDirection dir)
Sort the given data points by m/z order
|
static void |
sortDataPoints(Float[] rtBuffer,
double[] mzBuffer,
float[] intensityBuffer,
int size)
Sort the given data points by RT order
|
public static void sortDataPoints(double[] mzBuffer, float[] intensityBuffer, int size, DataPointSorter.SortingProperty prop, DataPointSorter.SortingDirection dir)
mzBuffer
- an array of double.intensityBuffer
- an array of float.size
- a int.prop
- a DataPointSorter.SortingProperty
object.dir
- a DataPointSorter.SortingDirection
object.public static void sortDataPoints(Float[] rtBuffer, double[] mzBuffer, float[] intensityBuffer, int size)
rtBuffer
- an arraymzBuffer
- an array of double.intensityBuffer
- an array of float.size
- a int.Copyright © 2019. All rights reserved.