/* *Premiseisthatthesetissorted.
*/ template <typename T, int cmp(const T&, const T&)> class JfrPredicate : AllStatic { public: staticbool test(GrowableArray<T>* set, T value) {
assert(set != NULL, "invariant"); bool found = false;
set->template find_sorted<T, cmp>(value, found); return found;
}
};
/* *Premiseisthatthesetissorted.
*/ template <typename T, int cmp(const T&, const T&)> class JfrMutablePredicate : AllStatic { public: staticbool test(GrowableArray<T>* set, T value) {
assert(set != NULL, "invariant"); bool found = false; constint location = set->template find_sorted<T, cmp>(value, found); if (!found) {
set->insert_before(location, value);
} return found;
}
};
#endif// SHARE_JFR_UTILITIES_JFRPREDICATE_HPP
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.1Bemerkung:
(vorverarbeitet am 2026-10-12)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.