Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testRemainingCapacity_maxSize3 (2.62 sec)

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

        EvictingQueue<String> queue = EvictingQueue.create(1);
        assertEquals(1, queue.remainingCapacity());
        queue.add("hi");
        assertEquals(0, queue.remainingCapacity());
      }
    
      public void testRemainingCapacity_maxSize3() {
        EvictingQueue<String> queue = EvictingQueue.create(3);
        assertEquals(3, queue.remainingCapacity());
        queue.add("hi");
        assertEquals(2, queue.remainingCapacity());
        queue.add("hi");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top