Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 252 for Dost (0.24 sec)

  1. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

      abstract Collection<V> createCollection();
    
      /**
       * Creates the collection of values for an explicitly provided key. By default, it simply calls
       * {@link #createCollection()}, which is the correct behavior for most implementations. The {@link
       * LinkedHashMultimap} class overrides it.
       *
       * @param key key to associate with values in the collection
       * @return an empty collection of values
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 46.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

          setException(t);
          return;
        } finally {
          function = null;
        }
    
        /*
         * If set()/setValue() throws an Error, we let it propagate. Why? The most likely Error is a
         * StackOverflowError (from deep transform(..., directExecutor()) nesting), and calling
         * setException(stackOverflowError) would fail:
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingMap.java

    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingMap<K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingObject implements Map<K, V> {
      // TODO(lowasser): identify places where thread safety is actually lost
    
      /** Constructor for use by subclasses. */
      protected ForwardingMap() {}
    
      @Override
      protected abstract Map<K, V> delegate();
    
      @Override
      public int size() {
        return delegate().size();
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Strings.java

       * do not match, returns a best-effort form of that string. Will not throw an exception under
       * normal conditions.
       *
       * <p><b>Note:</b> For most string-formatting needs, use {@link String#format String.format},
       * {@link java.io.PrintWriter#format PrintWriter.format}, and related methods. These support the
       * full range of <a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:49:18 GMT 2021
    - 12.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        dummyValue = new Object();
        dummyValueRef = map.newValueReference(dummy, dummyValue, 1);
        dummy.setValueReference(dummyValueRef);
        table.set(index, dummy);
        // returns the most recent entry
        assertSame(dummyValue, segment.get(key, hash));
        assertTrue(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
        assertTrue(segment.containsValue(dummyValue));
    
    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)
  6. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        dummyValue = new Object();
        dummyValueRef = map.newValueReference(dummy, dummyValue, 1);
        dummy.setValueReference(dummyValueRef);
        table.set(index, dummy);
        // returns the most recent entry
        assertSame(dummyValue, segment.get(key, hash));
        assertTrue(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
        assertTrue(segment.containsValue(dummyValue));
    
    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)
  7. android/guava/src/com/google/common/base/Converter.java

         * values. For details on that, see earlier revisions of this file.
         */
        return convert(a);
      }
    
      /**
       * Indicates whether another object is equal to this converter.
       *
       * <p>Most implementations will have no reason to override the behavior of {@link Object#equals}.
       * However, an implementation may also choose to return {@code true} whenever {@code object} is a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSet.java

         * sizing; if the Set uses different equality semantics, it might contain duplicates according
         * to equals(), and we will deduplicate those properly, albeit at some cost in allocations.
         */
        int expectedSize =
            elements instanceof Set ? array.length : estimatedSizeForUnknownDuplication(array.length);
        return fromArrayWithExpectedSize(array, expectedSize);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMap.java

         * the parameter and return type both to be platform types. As a result, Kotlin permits calls
         * that can lead to NullPointerException. That's unfortunate. But hopefully most Kotlin callers
         * use `get(key) ?: defaultValue` instead of this method, anyway.
         */
        V result = get(key);
        // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Lists.java

      public static <E extends @Nullable Object> CopyOnWriteArrayList<E> newCopyOnWriteArrayList(
          Iterable<? extends E> elements) {
        // We copy elements to an ArrayList first, rather than incurring the
        // quadratic cost of adding them to the COWAL directly.
        Collection<? extends E> elementsCollection =
            (elements instanceof Collection)
                ? (Collection<? extends E>) elements
                : newArrayList(elements);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
Back to top