code: public static IdsBuilder from(final Iterable<?> ids) {
          return (ids instanceof IdsBuilder) ? (IdsBuilder)ids : new IdsBuilder(ids);
      }
docs: Converts an iterable of ids into an {@code IdsBuilder}. This method can be more efficient than using the
  equivalent constructor but the returned object might be backed by the object provided.
  
  @param ids The ids to convert
  @return An equivalent instance of {@code IdsBuilder}