Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 05 / Interval / Interval.h
diff options
context:
space:
mode:
1 files changed, 0 insertions, 32 deletions
-rw-r--r--Sem. 05/Interval/Interval.h32
diff --git a/Sem. 05/Interval/Interval.h b/Sem. 05/Interval/Interval.h
deleted file mode 100644
index c8fcbc7..0000000
--- a/Sem. 05/Interval/Interval.h
+++ /dev/null
@@ -1,32 +0,0 @@
-
-class Interval
-{
- int a;
- int b;
-
- size_t countNumbersInIntervalCondition(bool(*pred)(int)) const;
-
-public:
-
- Interval();
- Interval(int a, int b);
-
- int getA() const;
- int getB() const;
-
- void setA(int a);
- void setB(int b);
-
- size_t getLength() const;
- bool isMemberOfInterval(int x) const;
-
- size_t calcPrimeNumbersInTheInterval() const;
- size_t calcPalindromicNumbersInTheInterval() const;
- size_t calcDiffrentDigitNumbersInTheInverval() const;
-
- bool areStartAndEndPowersOfTwo() const;
-
- Interval intersect(const Interval& other) const;
-
- bool isSuperInterval(const Interval& other) const;
-};