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

Method discardingQueue

output/java_guava/1.4.19/LocalCache.java:1105–1108  ·  view source on GitHub ↗

Queue that discards all elements.

()

Source from the content-addressed store, hash-verified

1103 */
1104
1105 @SuppressWarnings("unchecked") // impl never uses a parameter or returns any non-null value
1106 static <E> Queue<E> discardingQueue() {
1107 return (Queue) DISCARDING_QUEUE;
1108 }
1109
1110 /*
1111 * 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