code: protected boolean isEqualCollectionType(Collection<?> collection1, Collection<?> collection2) {
  
      return collection1.getClass().equals(collection2.getClass());
    }
docs: This method is called from {@link #isEqualNotNull(Object, Object)} to check if the {@link Object#getClass() type}
  of two given {@link Collection}s should be considered as equal.
  
  @param collection1 is the first {@link Collection}.
  @param collection2 is the second {@link Collection}.
  @return {@code true} if the {@link Object#getClass() type} of the given {@link Collection}s is considered as equal,
  {@code false} otherwise.