docs: public T pop()
      {
          T val = beginChunk.values[beginPos];
          beginChunk.values[beginPos] = null;
          beginPos++;
          if (beginPos == size) {
              beginChunk = beginChunk.next;
              beginChunk.prev = null;
              beginPos = 0;
          }
          return val;
      }