Website Summary Files Commits Branches @commit @diff @stats
path: root / src / List / List.h
diff options
context:
space:
mode:
1 files changed, 2 insertions, 0 deletions
-rw-r--r--src/List/List.h2
diff --git a/src/List/List.h b/src/List/List.h
index 1068bb7..24003a6 100644
--- a/src/List/List.h
+++ b/src/List/List.h
@@ -19,6 +19,8 @@ public:
void add(const T& element);
bool insertAt(const T& element, unsigned index);
bool removeAt(unsigned index);
+ unsigned findIndex(const T& element) const;
+ bool contains(const T& element) const;
T& operator[](unsigned index);
const T& operator[](unsigned index) const;