Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testNewLinkedBlockingQueueCapacity (0.15 sec)

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

        assertEquals(1, Queues.newLinkedBlockingDeque(1).remainingCapacity());
        assertEquals(11, Queues.newLinkedBlockingDeque(11).remainingCapacity());
      }
    
      public void testNewLinkedBlockingQueueCapacity() {
        assertThrows(IllegalArgumentException.class, () -> Queues.newLinkedBlockingQueue(0));
        assertEquals(1, Queues.newLinkedBlockingQueue(1).remainingCapacity());
    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