Méthode | Description | |
---|---|---|
FindFirst ( int query, ListIFS data ) : int | ||
FindFirst ( int query, ListIFS data, int min, int max ) : int |
Finds u such that data[u] <= query, if data[u] is duplicated, then the first entry is retrieved.
|
|
FindLast ( int query, ListIFS data ) : int |
Find the last entry u where u <= query. It returns min-1 if query < L[u] for every L[u] in the array.
|
|
FindLast ( int query, ListIFS data, int min, int max ) : int |
Find the last u where L[u] <= query. It returns min-1 if query < L[u] for every L[u] in the array.
|
public static FindFirst ( int query, ListIFS data ) : int | ||
query | int | |
data | ListIFS | |
Résultat | int |
public static FindFirst ( int query, ListIFS data, int min, int max ) : int | ||
query | int | |
data | ListIFS | |
min | int | |
max | int | |
Résultat | int |
public static FindLast ( int query, ListIFS data ) : int | ||
query | int | |
data | ListIFS | |
Résultat | int |
public static FindLast ( int query, ListIFS data, int min, int max ) : int | ||
query | int | |
data | ListIFS | |
min | int | |
max | int | |
Résultat | int |