MCPcopy
hub / github.com/google/guava / of

Method of

guava/src/com/google/common/collect/FluentIterable.java:311–314  ·  view source on GitHub ↗

Returns a fluent iterable containing no elements. <p><b>{@code Stream} equivalent:</b> {@link Stream#empty}. @since 20.0

()

Source from the content-addressed store, hash-verified

309 * @since 20.0
310 */
311 @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
312 public static <E extends @Nullable Object> FluentIterable<E> of() {
313 return FluentIterable.from(Collections.emptyList());
314 }
315
316 /**
317 * Returns a fluent iterable containing the specified elements in order.

Callers 11

whenAllSucceedMethod · 0.95
testOfMethod · 0.95
testOf_emptyMethod · 0.95
testSize0Method · 0.95
testOfToStringMethod · 0.95
testToStringMethod · 0.95
testAppend_toEmptyMethod · 0.95
testStreamMethod · 0.95

Calls 2

fromMethod · 0.95
asListMethod · 0.95

Tested by 9

testOfMethod · 0.76
testOf_emptyMethod · 0.76
testSize0Method · 0.76
testOfToStringMethod · 0.76
testToStringMethod · 0.76
testAppend_toEmptyMethod · 0.76
testStreamMethod · 0.76