code: static boolean equalsImpl(List<?> list, @Nullable Object object) {
      if (object == checkNotNull(list)) {
        return true;
      }
      if (!(object instanceof List)) {
        return false;
      }
  
      List<?> o = (List<?>) object;
  
      return list.size() == o.size()
          && Iterators.elementsEqual(list.iterator(), o.iterator());
    }
docs: An implementation of {@link List#equals(Object)}.