a415d3a9a3e0c5fbd7b02816942b9ab526920dac2d96cd68d43387f6bd8eae8ebdf06db78bc77209bf2f651c29b4aa0d2465898856c08ad8f22c5f2e3b3955 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. var __extends = this && this.t || function() {
  2. var extendStatics = function(n, t) {
  3. extendStatics = Object.setPrototypeOf || {
  4. __proto__: []
  5. } instanceof Array && function(n, t) {
  6. n.__proto__ = t;
  7. } || function(n, t) {
  8. for (var r in t) if (Object.prototype.hasOwnProperty.call(t, r)) n[r] = t[r];
  9. };
  10. return extendStatics(n, t);
  11. };
  12. return function(n, t) {
  13. if (typeof t !== "function" && t !== null) throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
  14. extendStatics(n, t);
  15. function __() {
  16. this.constructor = n;
  17. }
  18. n.prototype = t === null ? Object.create(t) : (__.prototype = t.prototype, new __);
  19. };
  20. }();
  21. var ContainerIterator = function() {
  22. function ContainerIterator(n) {
  23. if (n === void 0) {
  24. n = 0;
  25. }
  26. this.iteratorType = n;
  27. }
  28. ContainerIterator.prototype.equals = function(n) {
  29. return this.o === n.o;
  30. };
  31. return ContainerIterator;
  32. }();
  33. export { ContainerIterator };
  34. var Base = function() {
  35. function Base() {
  36. this.M = 0;
  37. }
  38. Object.defineProperty(Base.prototype, "length", {
  39. get: function() {
  40. return this.M;
  41. },
  42. enumerable: false,
  43. configurable: true
  44. });
  45. Base.prototype.size = function() {
  46. return this.M;
  47. };
  48. Base.prototype.empty = function() {
  49. return this.M === 0;
  50. };
  51. return Base;
  52. }();
  53. export { Base };
  54. var Container = function(n) {
  55. __extends(Container, n);
  56. function Container() {
  57. return n !== null && n.apply(this, arguments) || this;
  58. }
  59. return Container;
  60. }(Base);
  61. export { Container };
  62. //# sourceMappingURL=index.js.map