code: @Override
      public Collator freeze() {
          if (!isFrozen()) {
              frozenLock = new ReentrantLock();
              if (collationBuffer == null) {
                  collationBuffer = new CollationBuffer(data);
              }
          }
          return this;
      }
docs: Freezes the collator.
  @return the collator itself.