Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/EdwardRaff/JSAT
/ contains
Method
contains
JSAT/src/jsat/utils/IntSet.java:206–210 ·
view source on GitHub ↗
(int o)
Source
from the content-addressed store, hash-verified
204
}
205
206
public
boolean contains(
int
o)
207
{
208
int
index = (
int
) (getIndex(o) & INT_MASK);
209
return
status[index] == OCCUPIED;
//would be FREE if we didn't have the key
210
}
211
212
@Override
213
public
boolean remove(Object key)
Callers
15
checkClusteringByCat
Method · 0.95
testSearch_Vec_double
Method · 0.95
testSearch_Vec_int
Method · 0.95
testCluster_DataSet
Method · 0.95
testCluster_DataSet_ExecutorService
Method · 0.95
testCluster_4args_1_findK
Method · 0.95
testCluster_3args_1_findK
Method · 0.95
testCluster_DataSet_int
Method · 0.95
testCluster_3args_2
Method · 0.95
testCluster_DataSet_int
Method · 0.95
testCluster_DataSet_int_ExecutorService
Method · 0.95
testCluster_DataSet_ExecutorService
Method · 0.95
Calls
1
getIndex
Method · 0.95
Tested by
15
checkClusteringByCat
Method · 0.76
testSearch_Vec_double
Method · 0.76
testSearch_Vec_int
Method · 0.76
testCluster_DataSet
Method · 0.76
testCluster_DataSet_ExecutorService
Method · 0.76
testCluster_4args_1_findK
Method · 0.76
testCluster_3args_1_findK
Method · 0.76
testCluster_DataSet_int
Method · 0.76
testCluster_3args_2
Method · 0.76
testCluster_DataSet_int
Method · 0.76
testCluster_DataSet_int_ExecutorService
Method · 0.76
testCluster_DataSet_ExecutorService
Method · 0.76