diff --git a/source/hunt/collection/AbstractDeque.d b/source/hunt/collection/AbstractDeque.d index c24093e..76fbef8 100644 --- a/source/hunt/collection/AbstractDeque.d +++ b/source/hunt/collection/AbstractDeque.d @@ -277,6 +277,10 @@ abstract class AbstractDeque(E) : AbstractQueue!(E), Deque!(E) { throw new NotSupportedException(); } + override int opApply(scope int delegate(ref E) dg) { + throw new NotImplementedException(); + } + override bool opEquals(IObject o) { return opEquals(cast(Object) o); } diff --git a/source/hunt/collection/AbstractQueue.d b/source/hunt/collection/AbstractQueue.d index 227d7ea..356dfcc 100644 --- a/source/hunt/collection/AbstractQueue.d +++ b/source/hunt/collection/AbstractQueue.d @@ -175,6 +175,11 @@ abstract class AbstractQueue(E) : AbstractCollection!(E), Queue!(E) { return modified; } + override int opApply(scope int delegate(ref E) dg) { + throw new NotImplementedException(); + // return 0; + } + override bool opEquals(IObject o) { return opEquals(cast(Object) o); } diff --git a/source/hunt/collection/AbstractSet.d b/source/hunt/collection/AbstractSet.d index f616eef..7c35325 100644 --- a/source/hunt/collection/AbstractSet.d +++ b/source/hunt/collection/AbstractSet.d @@ -55,6 +55,12 @@ abstract class AbstractSet(E) : AbstractCollection!E, Set!E { protected this() { } + + override int opApply(scope int delegate(ref E) dg) { + throw new NotImplementedException(); + // return 0; + } + // Comparison and hashing /**