MCPcopy Create free account
hub / github.com/arq5x/bedtools2 / GetCountDistinct

Method GetCountDistinct

src/utils/VectorOps/VectorOps.cpp:229–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227}
228
229uint32_t VectorOps::GetCountDistinct(void)
230{
231 sort( _vecs.begin(), _vecs.end() );
232 _vecs.erase( unique( _vecs.begin(), _vecs.end() ), _vecs.end() );
233 return _vecs.size();
234}
235
236string VectorOps::GetCollapse(string delimiter)
237{

Callers

nothing calls this directly

Calls 4

eraseMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected