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

Method discardingQueue

output/java_guava/1.4.16/LocalCache.java:1104–1107  ·  view source on GitHub ↗

Queue that discards all elements.

()

Source from the content-addressed store, hash-verified

1102 */
1103
1104 @SuppressWarnings("unchecked") // impl never uses a parameter or returns any non-null value
1105 static <E> Queue<E> discardingQueue() {
1106 return (Queue) DISCARDING_QUEUE;
1107 }
1108
1109 /*
1110 * Note: All of this duplicate code sucks, but it saves a lot of memory. If only Java had mixins!

Callers 2

LocalCacheMethod · 0.95
SegmentMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected