Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for assertUninterruptibleDrained (0.1 sec)

  1. guava-tests/test/com/google/common/collect/QueuesTest.java

      /** Checks that #drain() invocations behave correctly for a drained (empty) queue. */
      private void assertDrained(BlockingQueue<Object> q) {
        assertNull(q.peek());
        assertInterruptibleDrained(q);
        assertUninterruptibleDrained(q);
      }
    
      private void assertInterruptibleDrained(BlockingQueue<Object> q) {
        // nothing to drain, thus this should wait doing nothing
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top