Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for next (0.14 sec)

  1. guava/src/com/google/common/cache/LocalCache.java

          ReferenceEntry<K, V> next = head.getNextInWriteQueue();
          return (next == head) ? null : next;
        }
    
        @CheckForNull
        @Override
        public ReferenceEntry<K, V> poll() {
          ReferenceEntry<K, V> next = head.getNextInWriteQueue();
          if (next == head) {
            return null;
          }
    
          remove(next);
          return next;
        }
    
        @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        private final ReferenceEntry<K, V> next;
    
        public DummyEntry(K key, int hash, ReferenceEntry<K, V> next) {
          this.key = key;
          this.hash = hash;
          this.next = next;
        }
    
        public static <K, V> DummyEntry<K, V> create(
            K key, int hash, @Nullable ReferenceEntry<K, V> next) {
          return new DummyEntry<>(key, hash, next);
        }
    
        public void clearKey() {
    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)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        private final ReferenceEntry<K, V> next;
    
        public DummyEntry(K key, int hash, ReferenceEntry<K, V> next) {
          this.key = key;
          this.hash = hash;
          this.next = next;
        }
    
        public static <K, V> DummyEntry<K, V> create(
            K key, int hash, @Nullable ReferenceEntry<K, V> next) {
          return new DummyEntry<>(key, hash, next);
        }
    
        public void clearKey() {
    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)
  4. android/guava/src/com/google/common/cache/LocalCache.java

          ReferenceEntry<K, V> next = head.getNextInWriteQueue();
          return (next == head) ? null : next;
        }
    
        @CheckForNull
        @Override
        public ReferenceEntry<K, V> poll() {
          ReferenceEntry<K, V> next = head.getNextInWriteQueue();
          if (next == head) {
            return null;
          }
    
          remove(next);
          return next;
        }
    
        @Override
    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)
  5. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     *
     * Each derivation can capture the next value or any intermediate objects for later closing.
     *
     * <p>A step can be the input to at most one derived step. Once you transform its value, catch its
     * exception, or combine it with others, you cannot do anything else with it, including declare it
     * to be the last step of the pipeline.
     *
     * <h4>Transforming</h4>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

        }
        Entry<K, ? extends V> entry1 = entryItr.next();
        K key1 = entry1.getKey();
        V value1 = entry1.getValue();
        checkEntryNotNull(key1, value1);
        // Do something that works for j2cl, where we can't call getDeclaredClass():
        EnumMap<K, V> enumMap = new EnumMap<>(singletonMap(key1, value1));
        while (entryItr.hasNext()) {
          Entry<K, ? extends V> entry = entryItr.next();
          K key = entry.getKey();
    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)
  7. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        SettableFuture<String> future1 = SettableFuture.create();
        SettableFuture<String> future2 = SettableFuture.create();
        ListenableFuture<List<String>> compound = allAsList(future1, future2);
        // This next call is "unused," but it is an important part of the test. Don't remove it!
        ListenableFuture<List<String>> unused = allAsList(future1, future2);
    
        assertTrue(compound.cancel(false));
    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)
  8. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        SettableFuture<String> future1 = SettableFuture.create();
        SettableFuture<String> future2 = SettableFuture.create();
        ListenableFuture<List<String>> compound = allAsList(future1, future2);
        // This next call is "unused," but it is an important part of the test. Don't remove it!
        ListenableFuture<List<String>> unused = allAsList(future1, future2);
    
        assertTrue(compound.cancel(false));
    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)
Back to top