Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for isEmpty (0.4 sec)

  1. guava-tests/test/com/google/common/cache/LocalCacheTest.java

            map.put(keyOne, valueOne);
            assertTrue(segment.recencyQueue.isEmpty());
    
            for (int i = 0; i < DRAIN_THRESHOLD / 2; i++) {
              map.get(keyOne);
            }
            assertFalse(segment.recencyQueue.isEmpty());
    
            map.put(keyTwo, valueTwo);
            assertTrue(segment.recencyQueue.isEmpty());
          }
        }
      }
    
      public void testDrainRecencyQueueOnRead() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            map.put(keyOne, valueOne);
            assertTrue(segment.recencyQueue.isEmpty());
    
            for (int i = 0; i < DRAIN_THRESHOLD / 2; i++) {
              map.get(keyOne);
            }
            assertFalse(segment.recencyQueue.isEmpty());
    
            map.put(keyTwo, valueTwo);
            assertTrue(segment.recencyQueue.isEmpty());
          }
        }
      }
    
      public void testDrainRecencyQueueOnRead() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertThat(future.isDone()).isFalse();
        assertThat(executedRunnables).isEmpty();
        assertThat(pendingRunnables).hasSize(1);
        pendingRunnables.remove(0).run();
        assertThat(future.isDone()).isTrue();
        assertThat(executedRunnables).containsExactly(runnable);
        assertThat(pendingRunnables).isEmpty();
      }
    
      public void testSubmit_runnable_throwsException() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertThat(future.isDone()).isFalse();
        assertThat(executedRunnables).isEmpty();
        assertThat(pendingRunnables).hasSize(1);
        pendingRunnables.remove(0).run();
        assertThat(future.isDone()).isTrue();
        assertThat(executedRunnables).containsExactly(runnable);
        assertThat(pendingRunnables).isEmpty();
      }
    
      public void testSubmit_runnable_throwsException() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Maps.java

          this.onBoth = unmodifiableMap(onBoth);
          this.differences = unmodifiableMap(differences);
        }
    
        @Override
        public boolean areEqual() {
          return onlyOnLeft.isEmpty() && onlyOnRight.isEmpty() && differences.isEmpty();
        }
    
        @Override
        public Map<K, V> entriesOnlyOnLeft() {
          return onlyOnLeft;
        }
    
        @Override
        public Map<K, V> entriesOnlyOnRight() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.jar

    java.util.Map getBackingMap(); public void flush(); public Object get(Object); private Object getCacheMissed(Object, int); public Object put(Object, Object); public Object remove(Object); public boolean containsKey(Object); public int size(); public boolean isEmpty(); public boolean containsValue(Object); public void putAll(java.util.Map); public void clear(); public java.util.Set keySet(); public java.util.Collection values(); public java.util.Set entrySet(); public boolean equals(Object); public int hashCode();...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 200.2K bytes
    - Viewed (0)
  7. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    java.util.Map getBackingMap(); public void flush(); public Object get(Object); private Object getCacheMissed(Object, int); public Object put(Object, Object); public Object remove(Object); public boolean containsKey(Object); public int size(); public boolean isEmpty(); public boolean containsValue(Object); public void putAll(java.util.Map); public void clear(); public java.util.Set keySet(); public java.util.Collection values(); public java.util.Set entrySet(); public boolean equals(Object); public int hashCode();...
    Archive
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 164.6K bytes
    - Viewed (0)
  8. maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    java.util.Map getBackingMap(); public void flush(); public Object get(Object); private Object getCacheMissed(Object, int); public Object put(Object, Object); public Object remove(Object); public boolean containsKey(Object); public int size(); public boolean isEmpty(); public boolean containsValue(Object); public void putAll(java.util.Map); public void clear(); public java.util.Set keySet(); public java.util.Collection values(); public java.util.Set entrySet(); public boolean equals(Object); public int hashCode();...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Oct 23 23:48:02 GMT 2009
    - 164.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/LocalCache.java

      abstract class AbstractCacheSet<T> extends AbstractSet<T> {
        @Override
        public int size() {
          return LocalCache.this.size();
        }
    
        @Override
        public boolean isEmpty() {
          return LocalCache.this.isEmpty();
        }
    
        @Override
        public void clear() {
          LocalCache.this.clear();
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    java.util.Map getBackingMap(); public void flush(); public Object get(Object); private Object getCacheMissed(Object, int); public Object put(Object, Object); public Object remove(Object); public boolean containsKey(Object); public int size(); public boolean isEmpty(); public boolean containsValue(Object); public void putAll(java.util.Map); public void clear(); public java.util.Set keySet(); public java.util.Collection values(); public java.util.Set entrySet(); public boolean equals(Object); public int hashCode();...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 164.6K bytes
    - Viewed (0)
Back to top