Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for week (0.4 sec)

  1. guava/src/com/google/common/collect/MapMakerInternalMap.java

        }
        if (builder.getKeyStrength() == Strength.WEAK
            && builder.getValueStrength() == Strength.STRONG) {
          return new MapMakerInternalMap<>(builder, WeakKeyDummyValueEntry.Helper.<K>instance());
        }
        if (builder.getValueStrength() == Strength.WEAK) {
          throw new IllegalArgumentException("Map cannot have both weak and dummy values");
        }
        throw new AssertionError();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                        } catch (ExecutionException expected) {
                        }
                        try {
                          peeker.getDone(nonInput);
                          fail("Peeker should not be able to peek into non-input ClosingFuture.");
                        } catch (IllegalArgumentException expected) {
                        }
                        capturedPeeker.set(peeker);
                        return closeable2;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        }
        if (builder.getKeyStrength() == Strength.WEAK
            && builder.getValueStrength() == Strength.STRONG) {
          return new MapMakerInternalMap<>(builder, WeakKeyDummyValueEntry.Helper.<K>instance());
        }
        if (builder.getValueStrength() == Strength.WEAK) {
          throw new IllegalArgumentException("Map cannot have both weak and dummy values");
        }
        throw new AssertionError();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterators.java

       *     Iterators.peekingIterator(Iterators.forArray("a", "b"));
       * String a1 = peekingIterator.peek(); // returns "a"
       * String a2 = peekingIterator.peek(); // also returns "a"
       * String a3 = peekingIterator.next(); // also returns "a"
       * }</pre>
       *
       * <p>Any structural changes to the underlying iteration (aside from those performed by the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 14:46:32 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Iterators.java

       *     Iterators.peekingIterator(Iterators.forArray("a", "b"));
       * String a1 = peekingIterator.peek(); // returns "a"
       * String a2 = peekingIterator.peek(); // also returns "a"
       * String a3 = peekingIterator.next(); // also returns "a"
       * }</pre>
       *
       * <p>Any structural changes to the underlying iteration (aside from those performed by the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 14:46:32 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> nonpeek = Lists.newArrayList("a", "b", "c").iterator();
        PeekingIterator<String> peek = Iterators.peekingIterator(nonpeek);
        assertNotSame(peek, nonpeek);
        assertSame(peek, Iterators.peekingIterator(peek));
        assertSame(peek, Iterators.peekingIterator((Iterator<String>) peek));
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 13:01:51 UTC 2024
    - 55.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multimaps.java

    import com.google.common.collect.Maps.EntryTransformer;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import com.google.j2objc.annotations.Weak;
    import com.google.j2objc.annotations.WeakOuter;
    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.io.Serializable;
    import java.util.AbstractCollection;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Multimaps.java

    import com.google.common.collect.Maps.EntryTransformer;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import com.google.j2objc.annotations.Weak;
    import com.google.j2objc.annotations.WeakOuter;
    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.io.Serializable;
    import java.util.AbstractCollection;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/CacheBuilder.java

       */
      @GwtIncompatible // java.lang.ref.WeakReference
      @CanIgnoreReturnValue
      public CacheBuilder<K, V> weakKeys() {
        return setKeyStrength(Strength.WEAK);
      }
    
      @CanIgnoreReturnValue
      CacheBuilder<K, V> setKeyStrength(Strength strength) {
        checkState(keyStrength == null, "Key strength was already set to %s", keyStrength);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Synchronized.java

        public boolean offer(E e) {
          synchronized (mutex) {
            return delegate().offer(e);
          }
        }
    
        @Override
        @CheckForNull
        public E peek() {
          synchronized (mutex) {
            return delegate().peek();
          }
        }
    
        @Override
        @CheckForNull
        public E poll() {
          synchronized (mutex) {
            return delegate().poll();
          }
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 53.4K bytes
    - Viewed (0)
Back to top