docs: public static Stream<?> buildStream(Object object) {
          if (object instanceof Collection)
              return ((Collection<?>) object).stream();
          else if (object.getClass().isArray())
              return Arrays.stream((Object[]) object);
          else
              return Stream.of(object);
      }