public interface SortedDoubles extends Doubles
Modifier and Type  Method and Description 

ContinuousIndex 
continuousIndexOf(double x)
The continuous index at which x falls in this sequence.

void 
continuousIndexOf(double x,
ContinuousIndex result)
The continuous index at which x falls in this sequence.

ContinuousIndexArray 
continuousIndicesOf(Doubles xs)
For each x in xs, the continuous index at which x falls in this
sequence.

void 
continuousIndicesOf(Doubles xs,
ContinuousIndexArray result)
For each x in xs, the continuous index at which x falls in this
sequence.

ContinuousIndexArray 
continuousIndicesOf(SortedDoubles xs)
For each x in xs, the continuous index at which x falls in this
sequence.

void 
continuousIndicesOf(SortedDoubles xs,
ContinuousIndexArray result)
For each x in xs, the continuous index at which x falls in this
sequence.

int 
indexAfter(double x)
Smallest index whose value is greater than x

int 
indexAtOrAfter(double x)
Smallest index whose value is greater than or equal to x

int 
indexAtOrBefore(double x)
Largest index whose value is less than or equal to x

int 
indexBefore(double x)
Largest index whose value is less than x

int 
indexNearest(double x)
Index of the value closest to x.

int 
indexOf(double x)
Follows the convention of
Arrays.binarySearch(double[], double) :
If x is contained in this sequence, returns the index of x
Otherwise, returns (insertionPoint  1)

int indexOf(double x)
Arrays.binarySearch(double[], double)
:
x
is contained in this sequence, returns the index of x
Arrays.binarySearch(double[], double)
int indexNearest(double x)
int indexBefore(double x)
int indexAfter(double x)
int indexAtOrBefore(double x)
int indexAtOrAfter(double x)
void continuousIndexOf(double x, ContinuousIndex result)
ContinuousIndex
ContinuousIndex continuousIndexOf(double x)
ContinuousIndex
void continuousIndicesOf(Doubles xs, ContinuousIndexArray result)
ContinuousIndexArray
ContinuousIndexArray continuousIndicesOf(Doubles xs)
com.metsci.tracks.ContinuousIndexArray
void continuousIndicesOf(SortedDoubles xs, ContinuousIndexArray result)
continuousIndicesOf(Doubles, ContinuousIndexArray)
in some implementations.ContinuousIndexArray
ContinuousIndexArray continuousIndicesOf(SortedDoubles xs)
continuousIndicesOf(Doubles)
in some implementations.ContinuousIndexArray
Copyright © 2018 Metron, Inc.. All rights reserved.