code: @Override
      public T set(int index, T element) {
          if (displacement != null) {
              return super.set(index - displacement, element);
          }
          return super.set(index, element);
      }
docs: Inherited from ArrayList
  @param index
  @param element
  @return