MCPcopy Create free account
hub / github.com/antlr/codebuff / of

Method of

corpus/java/training/guava/collect/ImmutableList.java:63–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61 */
62 // Casting to any type is safe because the list will never hold any elements.
63 @SuppressWarnings("unchecked")
64 public static <E> ImmutableList<E> of() {
65 return (ImmutableList<E>) EMPTY;
66 }
67
68 /**
69 * Returns an immutable list containing a single element. This list behaves

Callers 15

getMethod · 0.95
createAsListMethod · 0.95
createAsListMethod · 0.95
CompoundOrderingMethod · 0.95
leastOfMethod · 0.95
concatMethod · 0.95
ofMethod · 0.95
asListMethod · 0.95

Calls 1

constructMethod · 0.95

Tested by

no test coverage detected