summaryrefslogtreecommitdiffstats
path: root/include/core/Array.hpp
diff options
context:
space:
mode:
authorThomas Herzog <thomas.herzog@mail.com>2019-08-05 10:39:56 +0200
committerGitHub <noreply@github.com>2019-08-05 10:39:56 +0200
commitc2ec46f64a24de9a46b06c3e987c306f549ccadb (patch)
treec47c280be3a9638536011440b75bdc99dfe9b578 /include/core/Array.hpp
parentcdd50260d0c2bd620f15d16e2e00a4d8c965eb67 (diff)
parentb895d3c3264dd52312e65af01e34ed04bbf86222 (diff)
downloadredot-cpp-c2ec46f64a24de9a46b06c3e987c306f549ccadb.tar.gz
Merge pull request #296 from lupoDharkael/missing
Add missing class methods
Diffstat (limited to 'include/core/Array.hpp')
-rw-r--r--include/core/Array.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/core/Array.hpp b/include/core/Array.hpp
index 1261f74..d766c54 100644
--- a/include/core/Array.hpp
+++ b/include/core/Array.hpp
@@ -133,6 +133,19 @@ public:
void sort_custom(Object *obj, const String &func);
+ int bsearch(const Variant &value, const bool before = true);
+
+ int bsearch_custom(const Variant &value, const Object *obj,
+ const String &func, const bool before = true);
+
+ Array duplicate(const bool deep = false) const;
+
+ Variant max() const;
+
+ Variant min() const;
+
+ void shuffle();
+
~Array();
};