1 #ifndef __JTOOLS__JSET__
2 #define __JTOOLS__JSET__
21 template<
class JElement_t,
class JDistance_t>
30 template<
class JAbscissa_t>
52 for (
int i = 0; i != collection.
getSize(); ++i) {
53 this->insert(collection.
getX(i));
67 for (T i = __begin; i != __end; ++i) {
80 return (
int) this->size();
107 return *(this->begin());
118 return *(this->rbegin());
128 template<
class JElement_t,
class JDistance_t>
146 for (JAbscissa_t value; in >> value; ) {
147 object.insert(value);
192 template<
class JAbscissa_t>
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
counter_type advance(counter_type &counter, const counter_type value, const counter_type limit=std::numeric_limits< counter_type >::max())
Advance counter.