public interface SortedInts extends Ints
Modifier and Type  Method and Description 

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

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

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

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

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

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

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

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

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

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

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

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

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