(Producer<T> producer)
| 24 | private final Producer<T> producer; |
| 25 | |
| 26 | public Pool(Producer<T> producer) { |
| 27 | this.producer = producer; |
| 28 | } |
| 29 | |
| 30 | public synchronized T get() { |
| 31 | if (items.size() > 0) return items.poll(); |
nothing calls this directly
no outgoing calls
no test coverage detected